1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Add -rdynamic to LDFLAGS if libdl found.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent d91bfec537
commit 4c14a343d1
2 changed files with 736 additions and 653 deletions

1387
source/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -228,7 +228,7 @@ AC_CHECK_TYPE(wchar_t, unsigned short)
AC_CHECK_LIB(cups,httpConnect)
# we need libdl for PAM and the new VFS code
AC_CHECK_LIB(dl,main)
AC_CHECK_LIB(dl,main, [LDFLAGS="$LDFLAGS -rdynamic"; LIBS="$LIBS -ldl"])
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
AC_TRY_COMPILE([