Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/debian/patches/1001_hardcode_LIBXUL_DIR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/1001_hardcode_LIBXUL_DIR.patch')
-rw-r--r--debian/patches/1001_hardcode_LIBXUL_DIR.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/1001_hardcode_LIBXUL_DIR.patch b/debian/patches/1001_hardcode_LIBXUL_DIR.patch
new file mode 100644
index 0000000..77e7205
--- /dev/null
+++ b/debian/patches/1001_hardcode_LIBXUL_DIR.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -38,7 +38,7 @@ PKG_CHECK_MODULES([LIBXUL],[libxul])
+ # FIXME To be able to use pyxpcom we currently need
+ # to link to xpcom at build time. Which involves various hacks.
+ LIBXUL_SDK_DIR=`$PKG_CONFIG --variable=sdkdir libxul`
+-LIBXUL_DIR="`dirname $LIBXUL_SDK_DIR`/xulrunner-`$PKG_CONFIG --modversion libxul`"
++LIBXUL_DIR="/usr/lib/xulrunner-1.9"
+ LIBXUL_LIBS="$LIBXUL_LIBS -L$LIBXUL_DIR -lpyxpcom"
+
+ LIBXUL_CFLAGS=`$PKG_CONFIG --cflags --define-variable=includetype=unstable libxul`