[gjs] build: pick up the JS library from pkg-config instead of the system one
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] build: pick up the JS library from pkg-config instead of the system one
- Date: Wed, 18 May 2011 00:15:38 +0000 (UTC)
commit 322446f2599a7ddb1d6952a0d2168ff9c634ecd2
Author: Nirbheek Chauhan <nirbheek gentoo org>
Date: Tue May 17 03:14:30 2011 +0530
build: pick up the JS library from pkg-config instead of the system one
Add JS_LIBS to gjs_console_LDADD so that the JS library in libdir from
pkg-config is picked up first instead of the library in /usr/lib which may be
from a system install of an older spidermonkey.
https://bugzilla.gnome.org/show_bug.cgi?id=644971
Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a7ecd84..f1a7777 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -121,8 +121,9 @@ gjs_console_CFLAGS = \
$(AM_CFLAGS) \
$(GOBJECT_CFLAGS)
gjs_console_LDADD = \
- $(GOBJECT_LIBS) \
- libgjs.la
+ $(JS_LIBS) \
+ $(GOBJECT_LIBS) \
+ libgjs.la
gjs_console_LDFLAGS = -R $(FIREFOX_JS_LIBDIR) -rdynamic
gjs_console_SOURCES = gjs/console.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]