This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
build:compile_spidermonkey [2010/04/16 06:30] j.m created |
build:compile_spidermonkey [2010/04/17 08:14] j.m |
||
---|---|---|---|
Line 64: | Line 64: | ||
=== Edit the Makefile === | === Edit the Makefile === | ||
- | Edit the Makefile.ref to reflect the "NSPR" install. Lines marked with in **bold** are the edited version of the original line above: | + | Edit the Makefile.ref to reflect the "NSPR" install. Lines after the comments (starting with #) are the edited version of the original line: |
ifdef JS_THREADSAFE | ifdef JS_THREADSAFE | ||
DEFINES += -DJS_THREADSAFE | DEFINES += -DJS_THREADSAFE | ||
# INCLUDES += -I../../dist/$(OBJDIR)/include | # INCLUDES += -I../../dist/$(OBJDIR)/include | ||
- | **INCLUDES += -I/usr/include/nspr** | + | INCLUDES += -I/usr/include/nspr |
ifdef USE_MSVC | ifdef USE_MSVC | ||
OTHER_LIBS += ../../dist/$(OBJDIR)/lib/libnspr${NSPR_LIBSUFFIX}.lib | OTHER_LIBS += ../../dist/$(OBJDIR)/lib/libnspr${NSPR_LIBSUFFIX}.lib | ||
else | else | ||
# OTHER_LIBS += -L../../dist/$(OBJDIR)/lib -lnspr${NSPR_LIBSUFFIX} | # OTHER_LIBS += -L../../dist/$(OBJDIR)/lib -lnspr${NSPR_LIBSUFFIX} | ||
- | **OTHER_LIBS += -L/usr/lib/nspr -lnspr4** | + | OTHER_LIBS += -L/usr/lib/nspr -lnspr4 |
endif | endif | ||
endif | endif |