openbsd-ports/x11/golem/patches/patch-configure_in
pvalchev b0683b9ccf - use -fPIC everywhere to build the plugins
- change an occurance of fpic to fPIC (linking)
2004-06-13 04:02:36 +00:00

22 lines
540 B
Plaintext

$OpenBSD: patch-configure_in,v 1.4 2004/06/13 04:02:36 pvalchev Exp $
--- configure.in.orig 2002-02-02 14:13:45.000000000 -0700
+++ configure.in 2004-06-12 21:59:35.000000000 -0600
@@ -31,7 +31,7 @@ dnl some $host based configuration
dnl
EXPORT_FLAG=""
case "$host_os" in
-freebsd*|linux*|netbsd*)
+freebsd*|linux*|netbsd*|openbsd*)
EXPORT_FLAG="-export-dynamic"
;;
esac
@@ -42,7 +42,7 @@ solaris*)
SHARED_FLAG="-Wl,-G"
;;
openbsd*)
- SHARED_FLAG="-shared -fpic"
+ SHARED_FLAG="-shared -fPIC"
;;
esac
AC_SUBST(SHARED_FLAG)