[thirdparty-commits] russell: libresample/trunk r122 - /libresample/trunk/Makefile.in

SVN commits to the Digium third-party software repository thirdparty-commits at lists.digium.com
Sat Jun 6 16:30:34 CDT 2009


Author: russell
Date: Sat Jun  6 16:30:31 2009
New Revision: 122

URL: http://svn.asterisk.org/svn-view/thirdparty?view=rev&rev=122
Log:
Fix linkage and don't run ldconfig on mac

Modified:
    libresample/trunk/Makefile.in

Modified: libresample/trunk/Makefile.in
URL: http://svn.asterisk.org/svn-view/thirdparty/libresample/trunk/Makefile.in?view=diff&rev=122&r1=121&r2=122
==============================================================================
--- libresample/trunk/Makefile.in (original)
+++ libresample/trunk/Makefile.in Sat Jun  6 16:30:31 2009
@@ -17,7 +17,11 @@
 SONAME:=1.0
 DYNAMIC_LIBRARY:=libresample.so.$(SONAME)
 
+ifeq ($(OSARCH),Darwin)
+SOFLAGS:=-Wl -dynamiclib
+else
 SOFLAGS:=-Wl,-h$(DYNAMIC_LIBRARY)
+endif
 
 INSTALL_BASE:=/usr
 INSTALL_PREFIX:=$(DESTDIR)
@@ -32,7 +36,7 @@
  endif
 endif
 
-ifeq (${OSARCH},SunOS)
+ifneq (,$(findstring $(OSARCH), SunOS Darwin))
 LDCONFIG:= 
 LDCONFIG_FLAGS:= \# # Trick to comment out the period in the command below
 #INSTALL_PREFIX:=/opt/asterisk  # Uncomment out to install in standard Solaris location for 3rd party code




More information about the thirdparty-commits mailing list