diff options
author | Jason Perkins <starkos@industriousone.com> | 2013-08-08 22:13:20 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2013-08-08 22:13:20 +0400 |
commit | db24115c65633e5d34fd89b7093ba18336c00072 (patch) | |
tree | ae46d59e64333eb300b62f0b5ad00c58eb7164cc /tests | |
parent | fc3d38a1670e9f549a1b60d8290a906b2b2b388e (diff) |
Swapped $(LIBS) and $(ALL_LDFLAGS) in makefile linking step (Ben Henning)
See http://sourceforge.net/p/premake/bugs/279/
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_gmake_cpp.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gmake_cpp.lua b/tests/test_gmake_cpp.lua index 2844567..dde8033 100644 --- a/tests/test_gmake_cpp.lua +++ b/tests/test_gmake_cpp.lua @@ -85,7 +85,7 @@ ifeq ($(config),debug) ALL_LDFLAGS += $(LDFLAGS) -s LDDEPS += LIBS += $(LDDEPS) - LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(LIBS) $(ALL_LDFLAGS) + LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS) define PREBUILDCMDS endef define PRELINKCMDS @@ -119,7 +119,7 @@ ifeq ($(config),debugps3) ALL_LDFLAGS += $(LDFLAGS) -s LDDEPS += LIBS += $(LDDEPS) - LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(LIBS) $(ALL_LDFLAGS) + LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS) define PREBUILDCMDS endef define PRELINKCMDS @@ -150,7 +150,7 @@ ifeq ($(config),debug64) ALL_LDFLAGS += $(LDFLAGS) -s -m64 -L/usr/lib64 LDDEPS += LIBS += $(LDDEPS) - LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(LIBS) $(ALL_LDFLAGS) + LINKCMD = $(CXX) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS) define PREBUILDCMDS endef define PRELINKCMDS |