summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/spidermonkey/spidermonkey-1.7-threadsafe.patch
blob: da6c78d1dec5961027f70bb1dc83183ce0f69659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- js/src/Makefile.ref.orig	2008-05-28 19:51:32.000000000 -0400
+++ js/src/Makefile.ref	2008-05-28 19:52:17.000000000 -0400
@@ -63,11 +63,11 @@
 
 ifdef JS_THREADSAFE
 DEFINES += -DJS_THREADSAFE
-INCLUDES += -I$(DIST)/include/nspr
+INCLUDES += -I/usr/include/nspr
 ifdef USE_MSVC
 OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
 else
-OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
+OTHER_LIBS += -L/usr/$(LIBDIR)/nspr -lnspr${NSPR_LIBSUFFIX}
 endif
 endif