Skip to content

Commit f95f9ef

Browse files
committed
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: #2082 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
1 parent 30a0d47 commit f95f9ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ doc-upload: tar
347347

348348
$(TARBALL)-headers: config.gypi release-only
349349
$(PYTHON) ./configure --prefix=/ --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
350-
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '$(PREFIX)'
350+
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '/'
351351
find $(TARNAME)/ -type l | xargs rm # annoying on windows
352352
tar -cf $(TARNAME)-headers.tar $(TARNAME)
353353
rm -rf $(TARNAME)

0 commit comments

Comments
 (0)