Date: Tuesday, December 19, 2006 @ 17:14:03
  Author: marc
    Path: /cvsroot/carob/carob/test

Modified: GNUmakefile (1.27 -> 1.28)

moved -ldl from mandatory to optional LDFLAGS since it seems to be a cppunit 
compilation mistake


-------------+
 GNUmakefile |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)


Index: carob/test/GNUmakefile
diff -u carob/test/GNUmakefile:1.27 carob/test/GNUmakefile:1.28
--- carob/test/GNUmakefile:1.27 Tue Dec 19 17:00:36 2006
+++ carob/test/GNUmakefile      Tue Dec 19 17:14:03 2006
@@ -46,14 +46,17 @@
 # mandatory CXXFLAGS (gcc)
 override CXXFLAGS       += -I${INCDIR}
 
+
+# optional LDFLAGS
+# cppunit is sometimes not linked to libdl while using dlopen() & co
+LDFLAGS                  = -ldl
+
 ## mandatory LDFLAGS
 # for libcarob
 override LDFLAGS        += -Wl,-rpath,${CAROB_ROOT} -L${CAROB_ROOT} 
-l${LIB_CAROB}  -rdynamic
-# for libcppunit (why is cppunit is not linked to libdl while using dlopen() & 
co?)
-override LDFLAGS        += -l${LIB_CPPUNIT} -ldl
-
+# for libcppunit
+override LDFLAGS        += -l${LIB_CPPUNIT}
 
-LDFLAGS                 = 
 # For QT ui, uncomment this
 #LDFLAGS                 += -l${LIB_CPPUNIT_QTUI}
 EXE                     = carobTestLauncher

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to