mirror of
https://github.com/fluencelabs/musl
synced 2025-06-12 22:41:37 +00:00
fix global visibility (vis.h) support for out-of-tree builds
commit 2f853dd6b9
failed to change the
test for -include vis.h support to use $srcdir, so vis.h was always
disabled by configure for out-of-tree builds.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -517,7 +517,7 @@ int foo(void) { }
|
|||||||
int bar(void) { fp = foo; return foo(); }
|
int bar(void) { fp = foo; return foo(); }
|
||||||
EOF
|
EOF
|
||||||
if $CC $CFLAGS_C99FSE $CPPFLAGS $CFLAGS \
|
if $CC $CFLAGS_C99FSE $CPPFLAGS $CFLAGS \
|
||||||
-DSHARED -fPIC -I./src/internal -include vis.h \
|
-DSHARED -fPIC -I$srcdir/src/internal -include vis.h \
|
||||||
-nostdlib -shared -Wl,-Bsymbolic-functions \
|
-nostdlib -shared -Wl,-Bsymbolic-functions \
|
||||||
-o /dev/null "$tmpc" >/dev/null 2>&1 ; then
|
-o /dev/null "$tmpc" >/dev/null 2>&1 ; then
|
||||||
visibility=yes
|
visibility=yes
|
||||||
|
Reference in New Issue
Block a user