summaryrefslogtreecommitdiffstats
path: root/dbus-rpath.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-23 08:27:56 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-23 08:27:56 +0100
commit00a558fd6e7df730676dac2329fd186768d6ce0e (patch)
tree7e6f2dad7858a297d58ea81243772468c81a1eb3 /dbus-rpath.patch
php-pecl-dbus: 0.1.1 - New package
Diffstat (limited to 'dbus-rpath.patch')
-rw-r--r--dbus-rpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dbus-rpath.patch b/dbus-rpath.patch
new file mode 100644
index 0000000..cb9da29
--- /dev/null
+++ b/dbus-rpath.patch
@@ -0,0 +1,13 @@
+--- dbus-0.1.1/config.m4.old 2014-02-23 08:04:27.000000000 +0100
++++ dbus-0.1.1/config.m4 2014-02-23 08:13:18.000000000 +0100
+@@ -25,8 +25,8 @@
+
+ AC_MSG_CHECKING(for dbus)
+ if $PKG_CONFIG --exists dbus-1; then
+- AC_MSG_RESULT(found)
+- LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs dbus-1`"
++ LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs dbus-1 | sed -e s:-L/$PHP_LIBDIR:-L/usr/$PHP_LIBDIR:`"
++ AC_MSG_RESULT(found: $LDFLAGS)
+ CFLAGS="$CFLAGS `$PKG_CONFIG --cflags dbus-1`"
+ PHP_SETUP_LIBXML(DBUS_SHARED_LIBADD, [
+ AC_DEFINE(HAVE_DBUS, 1, [whether dbus exists in the system])