Skip to content

Commit

Permalink
x5
Browse files Browse the repository at this point in the history
  • Loading branch information
JuergenReppSIT committed Nov 1, 2024
1 parent 46a822b commit 3fc2562
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions test-dlopen/dlopen-autotools/m4/ld-version-script.m4
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,10 @@ AC_DEFUN([gl_LD_VERSION_SCRIPT],
[gl_cv_sys_ld_version_script=no
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
echo foo >conftest.map
echo "{ global: *; };" > conftest.map
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
[],
[cat > conftest.map <<EOF
VERS_1 {
global: sym;
};
VERS_2 {
global: sym;
} VERS_1;
EOF
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
[gl_cv_sys_ld_version_script=yes])])
[gl_cv_sys_ld_version_script=yes],
[gl_cv_sys_ld_version_script=no])
rm -f conftest.map
LDFLAGS=$save_LDFLAGS])
have_ld_version_script=$gl_cv_sys_ld_version_script])
Expand Down

0 comments on commit 3fc2562

Please sign in to comment.