summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/spidermonkey
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-16 20:49:55 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-16 20:49:55 +0000
commitc1307b5d2631cbcf808b0621a4a7a0eb69079b51 (patch)
tree921b783178a331194b0917c27b4bc0b93b5a2912 /sdk/recipes/patches/spidermonkey
parent98a58196790874965d57a329a9c10c20e9ffa4f6 (diff)
downloadtoolchains-c1307b5d2631cbcf808b0621a4a7a0eb69079b51.tar.gz
toolchains-c1307b5d2631cbcf808b0621a4a7a0eb69079b51.tar.bz2
install in the correct include directory
Diffstat (limited to 'sdk/recipes/patches/spidermonkey')
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/mozilla-js.pc.in.p2
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/rules.mk.p4
2 files changed, 3 insertions, 3 deletions
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/mozilla-js.pc.in.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/mozilla-js.pc.in.p
index c70291f..dfcbe5e 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/mozilla-js.pc.in.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/mozilla-js.pc.in.p
@@ -6,4 +6,4 @@
+Description: The Mozilla JavaScript Library
+Version: 1.7.0
+Libs: -L${prefix}/lib -ljs
-+Cflags: -I${prefix}/include
++Cflags: -I${prefix}/include -DXP_UNIX
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/rules.mk.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/rules.mk.p
index d35d097..ffec132 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/rules.mk.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/rules.mk.p
@@ -14,10 +14,10 @@
export:
+$(LOOP_OVER_PREDIRS)
- mkdir -p $(DIST)/include $(DIST)/$(LIBDIR) $(DIST)/bin
-+ mkdir -p $(DIST)/include/js $(DIST)/$(LIBDIR)/pkgconfig $(DIST)/bin
++ mkdir -p $(DIST)/include/mozjs $(DIST)/$(LIBDIR)/pkgconfig $(DIST)/bin
ifneq "$(strip $(HFILES))" ""
- $(CP) $(HFILES) $(DIST)/include
-+ $(CP) $(HFILES) $(DIST)/include/js/
++ $(CP) $(HFILES) $(DIST)/include/mozjs/
endif
ifneq "$(strip $(LIBRARY))" ""
$(CP) $(LIBRARY) $(DIST)/$(LIBDIR)