mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
Build pkg in docker
This commit is contained in:
1 parent
e04bb99d7a
commit
ff43986085
4 files changed
+26
-26
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export OFFLINE = @OFFLINE@
|
||||
export OFFLINE = @OFFLINE@ BUILD_FE=0
|
||||
|
||||
%:
|
||||
dh $@
|
||||
@@ -25,7 +25,7 @@ build() {
|
||||
# Must unset the CFLAGS, otherwise the build fails
|
||||
unset CFLAGS
|
||||
|
||||
make build OFFLINE=@OFFLINE@
|
||||
make build OFFLINE=@OFFLINE@ BUILD_FE=0
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
@@ -35,7 +35,9 @@ A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authenticati
|
||||
%setup
|
||||
|
||||
%build
|
||||
make build OFFLINE=@OFFLINE@
|
||||
# The injected RUSTFLAGS could fail the build
|
||||
unset RUSTFLAGS
|
||||
make build OFFLINE=@OFFLINE@ BUILD_FE=0
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
Reference in new issue
Block a user