31 lines
798 B
Text
31 lines
798 B
Text
$NetBSD: patch-bo,v 1.4 2005/07/25 15:46:51 adam Exp $
|
|
|
|
--- nsprpub/configure.in.orig 2004-09-14 20:59:41.000000000 +0000
|
|
+++ nsprpub/configure.in
|
|
@@ -56,7 +56,7 @@ USE_CPLUS=
|
|
USE_IPV6=
|
|
USE_MDUPDATE=
|
|
MACOS_DEPLOYMENT_TARGET=
|
|
-_OPTIMIZE_FLAGS=-O
|
|
+_OPTIMIZE_FLAGS=
|
|
_DEBUG_FLAGS=-g
|
|
MOZ_DEBUG=1
|
|
MOZ_OPTIMIZE=
|
|
@@ -933,6 +933,9 @@ case "$target" in
|
|
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
|
|
MDCPUCFG_H=_freebsd.cfg
|
|
PR_MD_CSRCS=freebsd.c
|
|
+ if test "$LIBRUNPATH"; then
|
|
+ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
|
|
+ fi
|
|
;;
|
|
|
|
*-hpux*)
|
|
@@ -1417,6 +1420,7 @@ mips-nec-sysv*)
|
|
AC_DEFINE(XP_UNIX)
|
|
AC_DEFINE(NETBSD)
|
|
AC_DEFINE(HAVE_BSD_FLOCK)
|
|
+ AC_DEFINE(HAVE_SOCKLEN_T)
|
|
USE_NSPR_THREADS=1
|
|
MDCPUCFG_H=_netbsd.cfg
|
|
PR_MD_CSRCS=netbsd.c
|