Skip to content
Snippets Groups Projects
Commit 0d4d72d3 authored by Justin Mitchell's avatar Justin Mitchell
Browse files

refix deb build

parent ab326c42
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ GCCVER := $(shell printf "%02d%02d" $(GCCMAJOR) $(GCCMINOR))
ifeq ($(JSFLAGS),)
JSDIR=$(DEPTH)mozjs
JSFLAGS= -include $(JSDIR)/include/js-17.0/js/RequiredDefines.h -I/usr/include/nspr -I$(JSDIR)/include/js-17.0
JSFLAGS= -include $(JSDIR)/usr/include/js-17.0/js/RequiredDefines.h -I/usr/include/nspr -I$(JSDIR)/usr/include/js-17.0
LDFLAGS += -L$(JSDIR)/$(libdir)/
JSLIBS= -lmozjs-17.0
JSSCRIPTTYPE=JSScript
......
.PHONY : all mozjs
all: mozjs
ifndef PWD
mozjs:
$(MAKE) PWD=`cd .. ; pwd` $@
else
INSTALLDIR=$(PWD)/mozjs
all: mozjs
mozjs:
cd js/src/ ; ./configure --enable-thread --with-pthreads --prefix=/
echo "INSTALLDIR = $(INSTALLDIR)"
cd js/src/ ; ./configure --enable-thread --with-pthreads --prefix=/usr
make -C js/src/
/usr/bin/printenv
make -C js/src/ install DESTDIR=$(INSTALLDIR)
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment