From f95f9ef6ea2eb3e7cc98c3dea372d74b4bb10910 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 30 Jun 2015 16:57:47 +1000 Subject: [PATCH] build: always use prefix=/ for tar-headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Johan Bergström --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fcc0b83720ecfe..e51f05e3304703 100644 --- a/Makefile +++ b/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)