X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=configure.ac;h=f5b0d39215fe4821522208e23e0c8ff0772cb189;hp=ee22576f5f07114d703c7c53cbec9c570c1b4b75;hb=5abacce031acfb8269552b21022a9e466d6b50cf;hpb=bc882898846b1ede68b4bf1872b2de6f5f9d6fcd diff --git a/configure.ac b/configure.ac index ee22576f..f5b0d392 100644 --- a/configure.ac +++ b/configure.ac @@ -195,6 +195,11 @@ AX_CHECK_LINK_FLAG([-Wl,--whole-archive,--no-whole-archive], # Initialize and configure libtool LT_INIT([win32-dll]) +# Check if the linker supports the "notext" keyword +AX_CHECK_LINK_FLAG([-Wl,-z,notext],[ + AC_SUBST([LD_NOTEXT], [-Wl,-z,notext]) +]) + ## ## ## Programs checks ##