diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-09-21 15:25:54 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-09-21 15:46:12 +0000 |
commit | db793044a347c8c5a827a6b4b5a2ee9395667e3c (patch) | |
tree | 00ec4a7700f76227f9604ff719f619586e17aa02 | |
parent | 4e16eb4b2bf4fdd56ce9657203723e7adb4582c3 (diff) | |
download | ports-db793044a347c8c5a827a6b4b5a2ee9395667e3c.tar.gz ports-db793044a347c8c5a827a6b4b5a2ee9395667e3c.zip |
audio/alsa-lib: fix build with lld 17
Some symbols in the linker version script Versions.in are only defined when
--enable-alisp is used at configure time. Suppress errors with lld >= 17 due
to these undefined symbols.
PR: 273753
MFH: 2023Q3
-rw-r--r-- | audio/alsa-lib/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index 26aa34b834be..e4f3ceec6dbf 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -27,6 +27,10 @@ TEST_ENV= ${MAKE_ENV} \ ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample" TEST_TARGET= check CPPFLAGS+= -I${FILESDIR} +# Some symbols in the linker version script Versions.in are only defined when +# --enable-alisp is used at configure time. Suppress errors with lld >= 17 due +# to these undefined symbols. +LDFLAGS+= -Wl,--undefined-version OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes |