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

Modified: GNUmakefile (1.26 -> 1.27)

LDFLAGS=... becomes override LDFLAGS+=...
Removed -fPIC


-------------+
 GNUmakefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletion(-)


Index: carob/test/GNUmakefile
diff -u carob/test/GNUmakefile:1.26 carob/test/GNUmakefile:1.27
--- carob/test/GNUmakefile:1.26 Tue Dec 19 16:32:09 2006
+++ carob/test/GNUmakefile      Tue Dec 19 17:00:36 2006
@@ -46,8 +46,14 @@
 # mandatory CXXFLAGS (gcc)
 override CXXFLAGS       += -I${INCDIR}
 
+## 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
 
-LDFLAGS                 = -fPIC -Wl,-rpath,${CAROB_ROOT} -L${CAROB_ROOT} 
-l${LIB_CAROB} -ldl -l${LIB_CPPUNIT} -rdynamic
+
+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