fix static

This commit is contained in:
2025-12-01 15:29:15 +01:00
parent 07871a2f2c
commit 1e7eb68f03
3 changed files with 8 additions and 6 deletions

View File

@@ -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

View File

@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/TLINDEN/udpxd.svg?branch=master)](https://travis-ci.org/TLINDEN/udpxd)
[![Build status](https://ci.appveyor.com/api/projects/status/omvdru5ysa2swcd1?svg=true)](https://ci.appveyor.com/project/TLINDEN/udpxd)
[![status-badge](https://ci.codeberg.org/api/badges/15646/status.svg)](https://ci.codeberg.org/repos/15646)
[![License](https://img.shields.io/badge/license-GPL-blue.svg)](https://codeberg.org/scip/udpxd/raw/branch/main/LICENSE)
## UDPXD - A general purpose UDP relay/port forwarder/proxy

View File

@@ -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