Date: Friday, November 17, 2006 @ 15:06:16
  Author: csaba
    Path: /cvsroot/carob/carob

Modified: Makefile (1.46 -> 1.47)

Set the SONAME. Catched by the Gentoo ebuild.


----------+
 Makefile |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)


Index: carob/Makefile
diff -u carob/Makefile:1.46 carob/Makefile:1.47
--- carob/Makefile:1.46 Thu Oct 19 17:54:17 2006
+++ carob/Makefile      Fri Nov 17 15:06:16 2006
@@ -67,23 +67,24 @@
 # (Warning, optional feature not deeply tested)
 # override CXXFLAGS            += -DCAROB_USE_POLL
 
+LIB_CAROB           = carob
+LIB_CAROB_LIB_SHORT = lib${LIB_CAROB}.so
+LIB_CAROB_LIB       = ${LIB_CAROB_LIB_SHORT}.${LIB_MAJOR_VERSION}
+LIB_CAROB_STATIC    = lib${LIB_CAROB}.a
+
 # LDFLAGS is not used for _static_ libcarob.a
 # optional LDFLAGS
 LDFLAGS                                = -lpthread
 
 # mandatory LDFLAGS
-override LDFLAGS       += -fPIC -shared
+override LDFLAGS       += -fPIC -shared -Wl,-soname,${LIB_CAROB_LIB}
 # for GMP
 override LDFLAGS       += -lgmp
 
 ARFLAGS                                = rcs
-LIB_CAROB                      = carob
-LIB_CAROB_LIB_SHORT = lib${LIB_CAROB}.so
-LIB_CAROB_LIB          = ${LIB_CAROB_LIB_SHORT}.${LIB_MAJOR_VERSION}
-LIB_CAROB_STATIC       = lib${LIB_CAROB}.a
 # Uncomment these 2 lines to use log4cxx instead of internal logger
-#CXXFLAGS            += -DCAROB_USE_LOG4CXX
-#LDFLAGS                               += -llog4cxx
+#CXXFLAGS           += -DCAROB_USE_LOG4CXX
+#LDFLAGS            += -llog4cxx
 
 #Doc
 # DOC_DIR is duplicated in Doxyfile

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

Reply via email to