]> git.ipfire.org Git - thirdparty/kmod.git/commit
build-sys: workaround libtool issue with argv[0]
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 10 Jan 2012 16:06:24 +0000 (14:06 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 10 Jan 2012 17:31:58 +0000 (15:31 -0200)
commit0b22179acd4b42f5fb902b74b98c4db487758ccb
tree8868f67a3ca0e0f4e618785966adace10f5ad46c
parent043b3f98332fd4c026056d2237b3431527f2ca17
build-sys: workaround libtool issue with argv[0]

Symlinking tools to kmod doesn't work because argv[0] is not the name of
the symlink, but rather 'kmod' (since libtool's wrapper script calls the
tools/.libs/kmod directly)

Now we create another binary kmod-nolib that is statically linked to
libkmod so we can call the binary directly and do not worry about
LD_LIBRARY_PATH.
Makefile.am
tools/.gitignore