From: Joe Orton Date: Tue, 7 Nov 2023 16:46:36 +0000 (+0000) Subject: * modules/dav/fs/config6.m4: Set _LDADD so that X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5875b400ee051852c58f3c2738fc2607b76b0549;p=thirdparty%2Fapache%2Fhttpd.git * modules/dav/fs/config6.m4: Set _LDADD so that mod_dav_fs-internal functions are not exported in the built DSO. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913654 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/fs/config6.m4 b/modules/dav/fs/config6.m4 index ee0b382f15c..71afa24c2af 100644 --- a/modules/dav/fs/config6.m4 +++ b/modules/dav/fs/config6.m4 @@ -20,4 +20,10 @@ esac APACHE_MODULE(dav_fs, DAV provider for the filesystem. --enable-dav also enables mod_dav_fs., $dav_fs_objects, , $dav_fs_enable,,dav) +if test "x$enable_dav_fs" = "xshared"; then + # The only symbol which needs to be exported is the module + # structure, so ask libtool to hide everything else: + APR_ADDTO(MOD_DAV_FS_LDADD, [-export-symbols-regex dav_fs_module]) +fi + APACHE_MODPATH_FINISH