for darwin only, remove un-needed ld flag from configure.ac

This commit is contained in:
chuck 2010-12-15 02:24:23 +00:00
parent 80b864ee8f
commit 5d80882b83
2 changed files with 21 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2010/07/05 08:58:56 dsainty Exp $
$NetBSD: distinfo,v 1.3 2010/12/15 02:24:23 chuck Exp $
SHA1 (eggdbus-0.6.tar.bz2) = 9f47d1225aafdcc5c59d177ec4c2b52d6f003ce8
RMD160 (eggdbus-0.6.tar.bz2) = a1fa28199059e7deb551b755a8a3853aa02ae0b7
Size (eggdbus-0.6.tar.bz2) = 163804 bytes
SHA1 (patch-aa) = 4c803b9598f760b88b7a6b9ca53acc64377ed200
SHA1 (patch-ab) = 5cf2948d7d1f9c06168dc92397fe1bf69279a0c1

View file

@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.1 2010/12/15 02:24:23 chuck Exp $
--- configure.ac.orig 2010-12-14 16:04:28.000000000 -0500
+++ configure.ac 2010-12-14 16:06:27.000000000 -0500
@@ -120,7 +120,13 @@
AC_SUBST(DBUS_GLIB_LIBS)
if test "x$GCC" = "xyes"; then
- LDFLAGS="-Wl,--as-needed $LDFLAGS"
+ case "x$host_os" in
+ xdarwin* )
+ ;;
+ * )
+ LDFLAGS="-Wl,--as-needed $LDFLAGS"
+ ;;
+ esac
fi
AC_OUTPUT([