2012-01-03 16:50:06 -05:00
|
|
|
$OpenBSD: patch-configure,v 1.8 2012/01/03 21:50:06 landry Exp $
|
2012-01-02 10:13:19 -05:00
|
|
|
|
|
|
|
Disable --as-needed to prevent undefined symbol on pthread_*
|
2011-10-03 02:42:45 -04:00
|
|
|
|
|
|
|
Fix DATADIRNAME: see LOCALBASE/share/aclocal/glib-gettext.m4.
|
|
|
|
|
2012-01-03 16:50:06 -05:00
|
|
|
--- configure.orig Tue Oct 4 15:53:55 2011
|
|
|
|
+++ configure Mon Jan 2 18:25:45 2012
|
|
|
|
@@ -13435,10 +13435,6 @@ else
|
2011-10-03 02:42:45 -04:00
|
|
|
fi
|
|
|
|
|
2012-01-02 10:13:19 -05:00
|
|
|
|
|
|
|
-if test "x$GCC" = "xyes"; then
|
|
|
|
- LDFLAGS="-Wl,--as-needed $LDFLAGS"
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
# i18n support
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
|
2012-01-03 16:50:06 -05:00
|
|
|
@@ -13984,6 +13980,9 @@ else
|
2012-01-02 10:13:19 -05:00
|
|
|
DATADIRNAME=lib
|
|
|
|
fi
|
|
|
|
|
|
|
|
+ ;;
|
2011-10-03 02:42:45 -04:00
|
|
|
+ *-*-openbsd*)
|
|
|
|
+ DATADIRNAME=share
|
2012-01-02 10:13:19 -05:00
|
|
|
;;
|
2011-10-03 02:42:45 -04:00
|
|
|
*)
|
|
|
|
DATADIRNAME=lib
|