mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r1037: Always export all symbols
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)
This commit is contained in:
parent
bd54b891c1
commit
7aa5a5de59
@ -522,15 +522,10 @@ PICSUFFIX="po"
|
||||
POBAD_CC="#"
|
||||
SHLIBEXT="so"
|
||||
|
||||
if test "$enable_shared" = "yes"; then
|
||||
# this bit needs to be modified for each OS that is suported by
|
||||
# smbwrapper. You need to specify how to created a shared library and
|
||||
# how to compile C code to produce PIC object files
|
||||
AC_MSG_CHECKING([ability to build shared libraries])
|
||||
|
||||
AC_MSG_CHECKING([ability to build shared libraries])
|
||||
|
||||
# and these are for particular systems
|
||||
case "$host_os" in
|
||||
# and these are for particular systems
|
||||
case "$host_os" in
|
||||
*linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux])
|
||||
BLDSHARED="true"
|
||||
LDSHFLAGS="-shared"
|
||||
@ -674,14 +669,13 @@ if test "$enable_shared" = "yes"; then
|
||||
*)
|
||||
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(DYNEXP)
|
||||
AC_MSG_RESULT($BLDSHARED)
|
||||
AC_MSG_CHECKING([linker flags for shared libraries])
|
||||
AC_MSG_RESULT([$LDSHFLAGS])
|
||||
AC_MSG_CHECKING([compiler flags for position-independent code])
|
||||
AC_MSG_RESULT([$PICFLAGS])
|
||||
fi
|
||||
esac
|
||||
AC_SUBST(DYNEXP)
|
||||
AC_MSG_RESULT($BLDSHARED)
|
||||
AC_MSG_CHECKING([linker flags for shared libraries])
|
||||
AC_MSG_RESULT([$LDSHFLAGS])
|
||||
AC_MSG_CHECKING([compiler flags for position-independent code])
|
||||
AC_MSG_RESULT([$PICFLAGS])
|
||||
|
||||
#######################################################
|
||||
# test whether building a shared library actually works
|
||||
|
@ -211,6 +211,9 @@ sub _generate_binaries($)
|
||||
push(@LINK_FLAGS,@{$CTX->{DEPEND}{EXT_LIBS}{$elem}{LDFLAGS}});
|
||||
}
|
||||
|
||||
# Export all symbols...
|
||||
push(@LINK_FLAGS,"\@DYNEXP\@");
|
||||
|
||||
#
|
||||
# set the lists
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user