Remove "-no-pie" link option also from configure-based builds

This commit is contained in:
ManoloFLTK 2024-03-21 16:18:00 +01:00
parent b53b2b6e11
commit 86f4a6fc8e

View File

@ -1104,11 +1104,6 @@ AS_CASE([$host_os_gui], [cygwin* | mingw*], [
[LIBDECORDBUS="-DHAS_DBUS $($PKGCONFIG --cflags dbus-1)" LIBS="$LIBS $($PKGCONFIG --libs dbus-1)"]
)
LDFLAGS="$LDFLAGS -rdynamic"
AC_SUBST([UNAME])
UNAME="$(uname -s)"
AS_CASE([$UNAME],
[Linux], [LDFLAGS="$LDFLAGS -no-pie"]
)
AC_SEARCH_LIBS([dlopen], [dl])