1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

multimedia/l-smash: fix build with lld 17

Building multimedia/l-smash with lld 17 results in the following link
error:

  ld: error: version script assignment of 'local' to symbol 'lsmash_string_to_wchar' failed: symbol not defined

The mentioned symbol is only used for Windows, but the configure script
fails to remove it from the linker script. Ensure the configure script's
sed command does removes it.

PR:		273753
MFH:		2023Q4
This commit is contained in:
Dimitry Andric 2023-12-07 21:05:12 +01:00
parent 08ed7d0165
commit 0971018ca3

View File

@ -9,3 +9,11 @@
fi
@@ -430,6 +430,7 @@ sed -i -e '/lsmash_win32_fopen/d' \
# Get rid of non-public symbols for the cli tools from local.
sed -i -e '/lsmash_win32_fopen/d' \
-e '/lsmash_string_from_wchar/d' \
+ -e '/lsmash_string_to_wchar/d' \
-e '/lsmash_importer_open/d' \
-e '/lsmash_importer_close/d' \
-e '/lsmash_importer_get_access_unit/d' \