From: Emil Velikov Date: Thu, 22 Aug 2024 16:04:21 +0000 (+0100) Subject: build: fixup testsuite LDFLAGS X-Git-Tag: v34~482 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d70d2f45c684ff7966bf09d2754ab8ee04f5c509;p=thirdparty%2Fkmod.git build: fixup testsuite LDFLAGS Add the leading '-' for avoid-version, otherwise the module gets versioned. Drop the -export-dynamic, since the modules are built with -fvisibility=hidden everything but the explicitly exported symbol is not exported. Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/86 Signed-off-by: Lucas De Marchi --- diff --git a/Makefile.am b/Makefile.am index ca3f2211..6423bc27 100644 --- a/Makefile.am +++ b/Makefile.am @@ -192,7 +192,7 @@ TESTSUITE_OVERRIDE_LIBS = \ testsuite/init_module.la \ testsuite/delete_module.la TESTSUITE_OVERRIDE_LIBS_LDFLAGS = \ - avoid-version -module -shared -export-dynamic -rpath /nowhere -ldl + -avoid-version -module -shared -rpath /nowhere -ldl check-am: rootfs