770af9ab9d
Not much response to my post to ports@ asking for testing, so there will probably be some breakage in the more obscure flavors and non-x86 arches.
22 lines
607 B
Plaintext
22 lines
607 B
Plaintext
$OpenBSD: patch-configure_in,v 1.4 2001/12/18 01:40:48 avsm Exp $
|
|
--- configure.in.orig Mon Dec 17 21:26:33 2001
|
|
+++ configure.in Mon Dec 17 21:34:50 2001
|
|
@@ -669,7 +669,7 @@ unset with_pic
|
|
|
|
case $php_build_target in
|
|
program|static)
|
|
- standard_libtool_flag='-prefer-non-pic -static'
|
|
+ standard_libtool_flag='-static'
|
|
if test "$lib_build_shared" != "yes"; then
|
|
enable_shared=no
|
|
fi
|
|
@@ -678,7 +678,7 @@ program|static)
|
|
;;
|
|
shared)
|
|
enable_static=no
|
|
- standard_libtool_flag=-prefer-pic
|
|
+ standard_libtool_flag=
|
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version"
|
|
;;
|
|
esac
|