build: always use prefix=/ for tar-headers
Defaults to /usr/local otherwise, which isn't helpful for node-gyp, nor standard assumptions about how header directories should be structured. PR-URL: https://github.com/nodejs/io.js/pull/2082 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
This commit is contained in:
parent
30a0d47d51
commit
f95f9ef6ea
2
Makefile
2
Makefile
@ -347,7 +347,7 @@ doc-upload: tar
|
||||
|
||||
$(TARBALL)-headers: config.gypi release-only
|
||||
$(PYTHON) ./configure --prefix=/ --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
|
||||
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '$(PREFIX)'
|
||||
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '/'
|
||||
find $(TARNAME)/ -type l | xargs rm # annoying on windows
|
||||
tar -cf $(TARNAME)-headers.tar $(TARNAME)
|
||||
rm -rf $(TARNAME)
|
||||
|
Loading…
x
Reference in New Issue
Block a user