]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/dav/fs/config6.m4: Set _LDADD so that
authorJoe Orton <jorton@apache.org>
Tue, 7 Nov 2023 16:46:36 +0000 (16:46 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 7 Nov 2023 16:46:36 +0000 (16:46 +0000)
  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

modules/dav/fs/config6.m4

index ee0b382f15c83d7516b498dcc2c99900ffe3b674..71afa24c2af6657b716d2ea55d2247d2a60f9724 100644 (file)
@@ -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