mirror of
https://codeberg.org/scip/udpxd.git
synced 2025-12-16 11:30:57 +01:00
fix static
This commit is contained in:
@@ -10,8 +10,8 @@ steps:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk update
|
||||
- apk add --no-cache bash build-base words-en gdb pkgconfig meson ninja git perl
|
||||
- meson setup --reconfigure --prefer-static -Dcpp_link_args="-static" --buildtype=release build
|
||||
- apk add --no-cache bash build-base gdb pkgconfig meson ninja perl git
|
||||
- meson setup --reconfigure --prefer-static -Dc_link_args="-static -ldl" --buildtype=release build
|
||||
- ninja -C build
|
||||
- meson dist -C build --formats xztar,gztar,zip
|
||||
- file build/udpxd
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[](https://travis-ci.org/TLINDEN/udpxd)
|
||||
[](https://ci.appveyor.com/project/TLINDEN/udpxd)
|
||||
[](https://ci.codeberg.org/repos/15646)
|
||||
[](https://codeberg.org/scip/udpxd/raw/branch/main/LICENSE)
|
||||
|
||||
|
||||
## UDPXD - A general purpose UDP relay/port forwarder/proxy
|
||||
|
||||
|
||||
@@ -20,7 +20,8 @@ add_project_arguments(
|
||||
'-Wno-format-zero-length',
|
||||
'-Wvla',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-narrowing'
|
||||
'-Wno-narrowing',
|
||||
'-Wno-stringop-truncation'
|
||||
],
|
||||
language: 'c',
|
||||
)
|
||||
@@ -50,7 +51,7 @@ endif
|
||||
# setup conf map
|
||||
version = '@0@'.format(meson.project_version())
|
||||
conf.set('prefix', prefix)
|
||||
conf.set('UDPXD_VERSION', version)
|
||||
conf.set('VERSION', version)
|
||||
|
||||
|
||||
# write out the config header
|
||||
|
||||
Reference in New Issue
Block a user