Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Krell <jaykrell@microsoft.com>2019-07-25 02:02:46 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-07-25 02:02:46 +0300
commit8cc722683458ab4745bebc3656224014d9927e5c (patch)
tree0b855116b68d00cc33b78f4f1e8baabfe7d9425f /configure.ac
parent30ce79f3f992221b0a7759d0a90f34eda63d623f (diff)
ld configure: Add another dash to export-dynamic. (#15717)
GNU ld accept single or double dash, means the same thing. AIX ld warns on single dash, errors on double dash, in autoconf, and then errors on single dash later. We want the double dash so autoconf rejects it on AIX.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7e2878113e5..cab608fa44f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5111,7 +5111,7 @@ AC_SEARCH_LIBS(dlopen, dl)
# Apple -bind_at_load
# The rest GNU.
#
-AX_APPEND_LINK_FLAGS([-Wl,-export-dynamic -Wl,-Bsymbolic -bsymbolic -Wl,-z,now -Wl,-bind_at_load])
+AX_APPEND_LINK_FLAGS([-Wl,--export-dynamic -Wl,-Bsymbolic -bsymbolic -Wl,-z,now -Wl,-bind_at_load])
AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h sys/wait.h pwd.h iconv.h sys/types.h sys/resource.h)
dnl giconv.c will check on HAVE_ICONV_H but we need this for link time