summaryrefslogtreecommitdiff
path: root/src/test/Makefile.in
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-11-19 20:07:11 +0100
committerHaru <haru@dotalux.com>2016-11-19 21:08:13 +0100
commit264767428aa06fc4e6a5238996b58637f586100f (patch)
tree481e4e141151ad4a2fca2ab4e104435d5c4be18b /src/test/Makefile.in
parentcd7d7eabe8c455bb962d28d2b3dd0416cd041281 (diff)
downloadhercules-264767428aa06fc4e6a5238996b58637f586100f.tar.gz
hercules-264767428aa06fc4e6a5238996b58637f586100f.tar.bz2
hercules-264767428aa06fc4e6a5238996b58637f586100f.tar.xz
hercules-264767428aa06fc4e6a5238996b58637f586100f.zip
Fix a 'make test' failure caused by a wrong linker library order
The library common.a depends on common_sql.a. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/test/Makefile.in')
-rw-r--r--src/test/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/Makefile.in b/src/test/Makefile.in
index c8006e5cf..3e7549943 100644
--- a/src/test/Makefile.in
+++ b/src/test/Makefile.in
@@ -87,8 +87,8 @@ $(TESTS_ALL): test_%: ../../test_%@EXEEXT@
../../test_%@EXEEXT@: obj/test_%.o $(TEST_DEPENDS) Makefile
@echo " LD $(notdir $@)"
- @$(CC) @STATIC@ @LDFLAGS@ -o $@ $< $(COMMON_D)/obj_sql/common_sql.a \
- $(COMMON_D)/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@
+ @$(CC) @STATIC@ @LDFLAGS@ -o $@ $< $(COMMON_D)/obj_all/common.a $(COMMON_D)/obj_sql/common_sql.a \
+ $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@
# object files