diff options
author | Andrei Belov <defan@nginx.com> | 2018-12-20 21:11:01 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-12-20 21:11:01 +0300 |
commit | 604a2f21f1a73e9f183b2b005e517e0647d59827 (patch) | |
tree | 24500387577cf2cb18131c70d147d06e9c2473b1 | |
parent | 5ceb81fd9179920942c3141d80cc46eaa806555a (diff) | |
download | unit-604a2f21f1a73e9f183b2b005e517e0647d59827.tar.gz unit-604a2f21f1a73e9f183b2b005e517e0647d59827.tar.bz2 |
Packages: fixed unit-go build broken in ed8b1aaefdd1.1.7-1
-rwxr-xr-x | pkg/deb/debian.module/rules.in | 4 | ||||
-rw-r--r-- | pkg/rpm/unit.module.spec.in | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pkg/deb/debian.module/rules.in b/pkg/deb/debian.module/rules.in index 22e381fe..299e3937 100755 --- a/pkg/deb/debian.module/rules.in +++ b/pkg/deb/debian.module/rules.in @@ -75,9 +75,9 @@ install: build dh_installlogrotate %%MODULE_PREINSTALL%% cd $(BUILDDIR_unit) && \ - DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%% + DESTDIR=$(INSTALLDIR) make all %%MODULE_INSTARGS%% cd $(BUILDDIR_unit_debug) && \ - DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%% + DESTDIR=$(INSTALLDIR) make all %%MODULE_INSTARGS%% binary-indep: build install dh_testdir diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in index 03d4addb..42fd9e1c 100644 --- a/pkg/rpm/unit.module.spec.in +++ b/pkg/rpm/unit.module.spec.in @@ -55,6 +55,7 @@ tar --strip-components=1 -zxf %{SOURCE0} --cc-opt="%{CC_OPT}" \ --debug ./configure %%MODULE_CONFARGS%% +make all make %%MODULE_MAKEARGS%% %{__mv} build build-debug ./configure \ @@ -62,6 +63,7 @@ make %%MODULE_MAKEARGS%% --modules=%{_libdir}/unit/modules \ --cc-opt="%{CC_OPT}" ./configure %%MODULE_CONFARGS%% +make all make %%MODULE_MAKEARGS%% %{__mv} build build-nodebug |