From 1e7eb68f0331c17521cba4c52b95b99e35ac62e9 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 1 Dec 2025 15:29:15 +0100 Subject: [PATCH] fix static --- .woodpecker/release.yaml | 4 ++-- README.md | 5 +++-- meson.build | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml index 8259047..dc5f98f 100644 --- a/.woodpecker/release.yaml +++ b/.woodpecker/release.yaml @@ -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 diff --git a/README.md b/README.md index 1a2ef35..3ccfdcd 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/meson.build b/meson.build index 67bc500..660f3fc 100644 --- a/meson.build +++ b/meson.build @@ -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