diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-20 19:43:37 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-20 19:43:37 +0000 |
commit | ce3e24eaae91e7a90f87eb7f1edea8df5942de11 (patch) | |
tree | 3e80408839ffbbc97eb53614098c01d9c75e357d /configure | |
parent | d1b29c2a54588401494c1a3ac7103c1e91c61fa1 (diff) | |
download | musl-ce3e24eaae91e7a90f87eb7f1edea8df5942de11.tar.gz musl-ce3e24eaae91e7a90f87eb7f1edea8df5942de11.tar.bz2 musl-ce3e24eaae91e7a90f87eb7f1edea8df5942de11.tar.xz musl-ce3e24eaae91e7a90f87eb7f1edea8df5942de11.zip |
fix global visibility (vis.h) support for out-of-tree builds
commit 2f853dd6b9a95d5b13ee8f9df762125e0588df5d 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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -517,7 +517,7 @@ int foo(void) { } int bar(void) { fp = foo; return foo(); } EOF 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 \ -o /dev/null "$tmpc" >/dev/null 2>&1 ; then visibility=yes |