You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2023/11/07 16:46:36 UTC
svn commit: r1913654 - /httpd/httpd/trunk/modules/dav/fs/config6.m4
Author: jorton
Date: Tue Nov 7 16:46:36 2023
New Revision: 1913654
URL: http://svn.apache.org/viewvc?rev=1913654&view=rev
Log:
* modules/dav/fs/config6.m4: Set _LDADD so that
mod_dav_fs-internal functions are not exported in
the built DSO.
Modified:
httpd/httpd/trunk/modules/dav/fs/config6.m4
Modified: httpd/httpd/trunk/modules/dav/fs/config6.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/config6.m4?rev=1913654&r1=1913653&r2=1913654&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/fs/config6.m4 (original)
+++ httpd/httpd/trunk/modules/dav/fs/config6.m4 Tue Nov 7 16:46:36 2023
@@ -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