All pastes #213992 Raw Edit

Someone

public text v1 · immutable
#213992 ·published 2006-10-21 19:33 UTC
rendered paste body
--- freeswitch/libs/mozilla.build.sh    Sat Oct 21 12:26:35 2006
+++ freeswitch.trunk/libs/mozilla.build.sh      Fri Oct  6 21:17:23 2006
@@ -23,7 +23,6 @@
 cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk

 ldflags="-lpthread"
-ldopts="-lpthread"
 fi

 if [ $hosttype = "OpenBSD" ] ; then
@@ -50,5 +49,5 @@

 cd nsprpub && CFLAGS=$cflags LDFLAGS=$ldflags ./configure $opts && $MAKE

-cd ../js/src && DSO_LDOPTS=$ldopts CFLAGS=$cflags LDFLAGS=$ldflags JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="-L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr"  $MAKE -f Makefile.ref `find . -name libjs.a`
+cd ../js/src && CFLAGS=$cflags  LDFLAGS=$ldflags JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="-L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr"  $MAKE -f Makefile.ref `find . -name libjs.a`


--- freeswitch/libs/mozilla/nsprpub/configure.in        Sat Oct 21 12:24:02 2006
+++ freeswitch/libs/mozilla/nsprpub/configure.in.2      Sat Oct 21 12:31:12 2006
@@ -1126,7 +1126,7 @@
     fi
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
     DSO_CFLAGS=-fPIC
-    DSO_LDOPTS='$(DSO_LDOPTS) -shared -Wl,-soname -Wl,$(notdir $@)'
+    DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
     MDCPUCFG_H=_freebsd.cfg
     PR_MD_CSRCS=freebsd.c
     ;;