summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
commitbf3d5759ebc17ef6c5997861bf2a73abb46af0a7 (patch)
tree65189a7e75c45ea613a95443cc2e92003456b45d /pkg/deb/Makefile
parent260494626b515b4e4af810ace22584ba8574ed0b (diff)
downloadunit-bf3d5759ebc17ef6c5997861bf2a73abb46af0a7.tar.gz
unit-bf3d5759ebc17ef6c5997861bf2a73abb46af0a7.tar.bz2
Packages: added libunit-wasm and headers to deb packaging.
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r--pkg/deb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index bef68490..3a77d7ef 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -241,7 +241,7 @@ debuild/unit_$(VERSION).orig.tar.gz: | debuild/$(SRCDIR)/debian
unit: check-build-depends-unit debuild/unit_$(VERSION).orig.tar.gz debuild/$(SRCDIR)/debian/changelog
@echo "===> Building $@ package"
- cd debuild/$(SRCDIR) && debuild -us -uc
+ cd debuild/$(SRCDIR) && debuild --preserve-envvar PATH --preserve-envvar RUSTUP_HOME -us -uc
mkdir -p debs
find debuild/ -maxdepth 1 -type f -exec cp {} debs/ \;
ln -s debuild/$(SRCDIR)/build $@
@@ -314,7 +314,7 @@ endif
unit-%: check-build-depends-% | debuild-%
@echo "===> Building $@ package"
- cd debuild-$*/$(SRCDIR) && debuild -us -uc
+ cd debuild-$*/$(SRCDIR) && debuild --preserve-envvar PATH --preserve-envvar RUSTUP_HOME -us -uc
mkdir -p debs
find debuild-$*/ -maxdepth 1 -type f -exec cp {} debs/ \;
ln -s debuild-$*/$(SRCDIR)/build $@