Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
JuergenReppSIT committed Nov 2, 2024
1 parent 3fc2562 commit 537b3d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test-dlopen/dlopen-autotools/m4/ld-version-script.m4
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ AC_DEFUN([gl_LD_VERSION_SCRIPT],
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
echo "{ global: *; };" > conftest.map
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [ ])],
[gl_cv_sys_ld_version_script=yes],
[gl_cv_sys_ld_version_script=no])
echo foo > conftest.map
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
[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 537b3d2

Please sign in to comment.