pass PAMLIB to make

This commit is contained in:
Vladimir Dubrovin 2026-04-06 20:36:31 +03:00
parent 15855ec5cd
commit 82a97e61e2
2 changed files with 6 additions and 3 deletions

View File

@ -63,8 +63,7 @@ jobs:
run: | run: |
ret=`pwd` ret=`pwd`
cd ~/rpmbuild/SPECS cd ~/rpmbuild/SPECS
PAMLIB=pam0g rpmbuild -ba --define "PAMLIB pam0g" --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec
rpmbuild -ba --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec
cd $ret cd $ret
mv ~/rpmbuild/RPMS/arm/3proxy-$RELEASE-1.arm.rpm 3proxy-$RELEASE.arm.rpm mv ~/rpmbuild/RPMS/arm/3proxy-$RELEASE-1.arm.rpm 3proxy-$RELEASE.arm.rpm
- name: Get artifact - name: Get artifact

View File

@ -17,7 +17,11 @@ Source: https://github.com/%{packager}/%{name}/archive/%{version}.tar.gz
ln -s Makefile.Linux Makefile ln -s Makefile.Linux Makefile
%build %build
%if "%{?PAMLIB}" != ""
make PAMLIB=%{?PAMLIB}
%else
make make
%endif
%install %install
make DESTDIR=%buildroot install make DESTDIR=%buildroot install