mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-07 13:50:12 +08:00
pass PAMLIB to make
This commit is contained in:
parent
15855ec5cd
commit
82a97e61e2
3
.github/workflows/build-rpm-armhf.yml
vendored
3
.github/workflows/build-rpm-armhf.yml
vendored
@ -63,8 +63,7 @@ jobs:
|
||||
run: |
|
||||
ret=`pwd`
|
||||
cd ~/rpmbuild/SPECS
|
||||
PAMLIB=pam0g
|
||||
rpmbuild -ba --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec
|
||||
rpmbuild -ba --define "PAMLIB pam0g" --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec
|
||||
cd $ret
|
||||
mv ~/rpmbuild/RPMS/arm/3proxy-$RELEASE-1.arm.rpm 3proxy-$RELEASE.arm.rpm
|
||||
- name: Get artifact
|
||||
|
||||
@ -17,7 +17,11 @@ Source: https://github.com/%{packager}/%{name}/archive/%{version}.tar.gz
|
||||
ln -s Makefile.Linux Makefile
|
||||
|
||||
%build
|
||||
%if "%{?PAMLIB}" != ""
|
||||
make PAMLIB=%{?PAMLIB}
|
||||
%else
|
||||
make
|
||||
%endif
|
||||
|
||||
%install
|
||||
make DESTDIR=%buildroot install
|
||||
|
||||
Loading…
Reference in New Issue
Block a user