]> git.pld-linux.org Git - packages/gjs.git/blob - gjs-rpath.patch
- up to 0.7.13
[packages/gjs.git] / gjs-rpath.patch
1 diff -ur gjs-0.7.4-o//configure.ac gjs-0.7.4/configure.ac
2 --- gjs-0.7.4-o//configure.ac   2010-10-04 14:05:05.000000000 -0600
3 +++ gjs-0.7.4/configure.ac      2010-10-14 23:12:27.000000000 -0600
4 @@ -116,14 +116,14 @@
5      FIREFOX_JS_SDKDIR=`$PKG_CONFIG --variable=sdkdir $JS_PACKAGE`
6      FIREFOX_JS_LIBDIR=`$PKG_CONFIG --variable=libdir $JS_PACKAGE`
7  
8 -    ## Ubuntu does not set libdir in mozilla-js.pc
9 +    ## PLD does not set libdir in mozilla-js.pc
10      if test x"$FIREFOX_JS_LIBDIR" = x ; then
11 -       ## Ubuntu returns xulrunner-devel as the sdkdir, but for the
12 +       ## PLD returns xulrunner-devel as the sdkdir, but for the
13         ## libdir we want the runtime location on the target system,
14         ## so can't use -devel.
15         ## The library is in the non-devel directory also.
16         ## Don't ask me why it's in two places.
17 -       FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-devel//g'`
18 +       FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-sdk//g'`
19  
20         if ! test -d "$FIREFOX_JS_LIBDIR" ; then
21             FIREFOX_JS_LIBDIR=
22 diff -ur gjs-0.7.4-o//Makefile-gi.am gjs-0.7.4/Makefile-gi.am
23 --- gjs-0.7.4-o//Makefile-gi.am 2010-09-17 06:49:48.000000000 -0600
24 +++ gjs-0.7.4/Makefile-gi.am    2010-10-14 23:06:07.000000000 -0600
25 @@ -10,7 +10,7 @@
26          libgjs.la                      \
27          $(GJS_GI_LIBS)
28  libgjs_gi_la_LDFLAGS = \
29 -       -export-symbols-regex "^[^_].*" -version-info 0:0:0 -rdynamic -no-undefined
30 +       -export-symbols-regex "^[^_].*" -version-info 0:0:0 -rdynamic -no-undefined -R $(FIREFOX_JS_LIBDIR)
31  
32  nobase_gjsgiinclude_HEADERS =  \
33         gi/arg.h        \
This page took 0.071813 seconds and 3 git commands to generate.