[mw-devel] [Git][arthur/mw][master] Use the right libdir for mozjs when built via make test

Andrew Price welshbyte at sucs.org
Wed Oct 7 11:32:05 BST 2015


Andrew Price pushed to branch master at Justin Mitchell / mw


Commits:
106d2741 by Andrew Price at 2015-10-07T11:26:09Z
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.

- - - - -


1 changed file:

- Makefile.common


Changes:

=====================================
Makefile.common
=====================================
--- a/Makefile.common
+++ b/Makefile.common
@@ -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
 



View it on GitLab: https://projects.sucs.org/arthur/mw/commit/106d2741a82c3b5e4a955289770ac970dc832612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20151007/acc2c07b/attachment-0001.html>


More information about the mw-devel mailing list