Date: Monday, January 22, 2007 @ 17:19:23
  Author: marc
    Path: /cvsroot/carob/carob/make-includes

Modified: darwinlibtool-linker.mk (1.2 -> 1.3)

now using the correct ".dylib" filenames instead of libcarob.1.so.
make check runs on MacOSX


-------------------------+
 darwinlibtool-linker.mk |   15 +++++++++++++++
 1 files changed, 15 insertions(+)


Index: carob/make-includes/darwinlibtool-linker.mk
diff -u carob/make-includes/darwinlibtool-linker.mk:1.2 
carob/make-includes/darwinlibtool-linker.mk:1.3
--- carob/make-includes/darwinlibtool-linker.mk:1.2     Thu Jan 18 11:23:20 2007
+++ carob/make-includes/darwinlibtool-linker.mk Mon Jan 22 17:19:23 2007
@@ -1,3 +1,6 @@
+# Porting Unix software to Darwin and Mac OS X
+# http://fink.sourceforge.net/doc/porting/porting.en.html
+
 
 SHARED_LDFLAGS = -dynamiclib
 
@@ -5,3 +8,15 @@
 
 AR = libtool
 ARFLAGS = -v -o
+
+
+LIB_CAROB_LINKNAME = lib${CAROB}.dylib
+LIB_CAROB_SONAME = lib${CAROB}.${CAROB_MAJOR_VERSION}.dylib
+
+# to build a release try to run make with CAROB_ROOT=/usr/local/lib
+
+SHARED_INDIRECT_LDFLAGS += -install_name ${CAROB_ROOT}/${LIB_CAROB_SONAME}
+
+# may be needed in some hackish configurations you don't want to know about
+# TEST_INDIRECT_LDFLAGS += -dylib_file 
/usr/local/lib/${LIB_CAROB_SONAME}:../${LIB_CAROB_SONAME}
+

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

Reply via email to