[gjs] [gjs-console] Add -rpath for libmozjs.so



commit db4028146dc2edb08c27e1c2bc9843da47ded361
Author: Johan Dahlin <johan gnome org>
Date:   Tue Feb 16 21:31:12 2010 -0200

    [gjs-console] Add -rpath for libmozjs.so
    
    This should not be needed by libtool, but as libtool
    is broken we need to pass it in anyway. This has been
    done in practice by both gnome-shell and other projects
    using gjs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=561524

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index f06dae7..3923ad6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -101,7 +101,7 @@ gjs_console_CFLAGS = 		\
 	$(GJS_CFLAGS)
 gjs_console_LDADD =		\
          libgjs.la
-
+gjs_console_LDFLAGS = -R $(FIREFOX_JS_LIBDIR) -rdynamic
 gjs_console_SOURCES = gjs/console.c
 
 install-exec-hook:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]