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