PKGBUILDs/extra/spidermonkey/spidermonkey-1.7-threadsafe.patch
2009-10-09 21:23:22 -05:00

16 lines
473 B
Diff

--- 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