flua: move modules source into the main source directory

Follow the path of what is done with bsnmp, build the modules along
with the main binary, this allows to build the modules at a moment
where all needed libraries are already built and available in the
linker path instead of having to declare all the libraries which a
flua module will be linked to in _prebuild_libs.

Discused with:	markj
Reviewed by:	markj, jrtc27, kevans, imp
Accepted by:	kevans, imp
Differential Revision:	https://reviews.freebsd.org/D46610
This commit is contained in:
Baptiste Daroussin
2024-09-09 17:17:27 +02:00
parent d82cb5c608
commit 7899f917b1
23 changed files with 30 additions and 49 deletions
+1 -3
View File
@@ -3236,8 +3236,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
lib/libxo \
${_secure_lib_libcrypto} ${_secure_lib_libssl} \
${_lib_libldns} ${_secure_lib_libssh} \
lib/libucl
${_lib_libldns} ${_secure_lib_libssh}
.if ${MK_DIALOG} != "no"
_prebuild_libs+= gnu/lib/libdialog
@@ -3292,7 +3291,6 @@ _generic_libs+= ${_DIR}
lib/libtacplus__L: lib/libmd__L lib/libpam/libpam__L
lib/libxo__L: lib/libutil__L
lib/libucl__L: lib/msun__L
.if ${MK_CDDL} != "no"
_cddl_lib_libumem= cddl/lib/libumem