diff options
author | Jason Perkins <starkos@industriousone.com> | 2013-05-15 17:30:45 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2013-05-15 17:30:45 +0400 |
commit | bb679254e1c25e93611d0a81b49353338de987c4 (patch) | |
tree | db2208070c000646d145540a026b1a259dc30dec /src/actions/make | |
parent | 745f63d5e1cf228184fed3ab49e5f8da2867518d (diff) |
Fixed bug #176: Target prefix breaks GCC linking
Diffstat (limited to 'src/actions/make')
-rw-r--r-- | src/actions/make/make_cpp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua index 8f34455..99387ad 100644 --- a/src/actions/make/make_cpp.lua +++ b/src/actions/make/make_cpp.lua @@ -262,8 +262,8 @@ -- Patch #3401184 changed the order _p(' ALL_LDFLAGS += $(LDFLAGS)%s', make.list(table.join(cc.getlibdirflags(cfg), cc.getldflags(cfg), cfg.linkoptions))) - _p(' LIBS +=%s', make.list(cc.getlinkflags(cfg))) _p(' LDDEPS +=%s', make.list(_MAKE.esc(premake.getlinks(cfg, "siblings", "fullpath")))) + _p(' LIBS += $(LDDEPS)%s', make.list(cc.getlinkflags(cfg))) if cfg.kind == "StaticLib" then if cfg.platform:startswith("Universal") then |