mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +01:00
29 lines
816 B
Diff
29 lines
816 B
Diff
--- ./configure.orig
|
|
+++ ./configure
|
|
@@ -1680,6 +1680,7 @@
|
|
CoTaskMemFree
|
|
CryptGenRandom
|
|
dlopen
|
|
+ dlvsym
|
|
fcntl
|
|
flt_lim
|
|
fork
|
|
@@ -4997,14 +4998,15 @@
|
|
-Wl,--wrap,sws_scale ||
|
|
disable xmm_clobber_test
|
|
|
|
+check_func dlvsym -lld
|
|
echo "X{};" > $TMPV
|
|
if test_ldflags -Wl,--version-script,$TMPV; then
|
|
append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
|
|
- check_cc <<EOF && enable symver_asm_label
|
|
+ enabled dlvsym && check_cc <<EOF && enable symver_asm_label
|
|
void ff_foo(void) __asm__ ("av_foo@VERSION");
|
|
void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
|
|
EOF
|
|
- check_cc <<EOF && enable symver_gnu_asm
|
|
+ enabled dlvsym && check_cc <<EOF && enable symver_gnu_asm
|
|
__asm__(".symver ff_foo,av_foo@VERSION");
|
|
void ff_foo(void) {}
|
|
EOF
|