]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools: Do not link dynamically with libkmod
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 4 Jul 2013 19:01:55 +0000 (16:01 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 4 Jul 2013 19:08:10 +0000 (16:08 -0300)
commitb6adccd6ff819b8befc48ede41a13f2201dce443
tree6709556fe6d0e908a54873592c48dcdfd8d922f9
parent3b38c7fcb58be4ddc34f90454c5f5dc3693d2d85
tools: Do not link dynamically with libkmod

Instead of linking dynamically with libkmod, use libkmod-private.la. We
disallow creating a static libkmod because we can't hide symbols there
and it cause problems with external programs. However this should not
prevent users that are only interested in the tools we provide not being
able to ship only them keeping the library alone.

Other projects also do this to allow our tools to use certain functions
that should not be used outside of the project.
Makefile.am
testsuite/test-depmod.c
testsuite/test-modinfo.c
testsuite/test-modprobe.c