Commit 106d2741 authored by Andrew Price's avatar Andrew Price
Browse files

Use the right libdir for mozjs when built via make test

'make test' sets libdir to a path in the test sandbox and it propagates
to the mozjs build if it hasn't been built yet. Reinstate a sensible
libdir for mozjs.
parent 9c7748ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ all: build
-include $(CODE:.c=.d)

$(JSOBJ):
	$(MAKE) -C $(SRCROOT)/mozjs
	$(MAKE) -C $(SRCROOT)/mozjs libdir=/usr/lib

.PHONY: build install clean test all testclean