]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build: fixup testsuite LDFLAGS
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Aug 2024 16:04:21 +0000 (17:04 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 23 Aug 2024 18:51:19 +0000 (13:51 -0500)
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 <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/86
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Makefile.am

index ca3f22115eb11e12209d73de631616f3198aa8ee..6423bc276f42481023d9da53817d29620195072a 100644 (file)
@@ -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