Skip to content

Commit

Permalink
* modules/dav/fs/config6.m4: Set _LDADD so that
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
notroj committed Nov 7, 2023
1 parent eb6a9b7 commit 5875b40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/dav/fs/config6.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5875b40

Please sign in to comment.