kmod: fix pkgconfig file
The pkgconfig file is generated at make-time, leading to absolute /usr/include & /usr/lib search paths. The patch lets autoconf handle pkgconfig file subst, like other packages do. Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
parent
3879265ffd
commit
1f3925de20
1 changed files with 22 additions and 0 deletions
22
utils/kmod/patches/001-fix_pkgconfig_file.patch
Normal file
22
utils/kmod/patches/001-fix_pkgconfig_file.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -35,9 +35,6 @@ SED_PROCESS = \
|
||||
-e 's,@zlib_LIBS\@,${zlib_LIBS},g' \
|
||||
< $< > $@ || rm $@
|
||||
|
||||
-%.pc: %.pc.in Makefile
|
||||
- $(SED_PROCESS)
|
||||
-
|
||||
LIBKMOD_CURRENT=4
|
||||
LIBKMOD_REVISION=9
|
||||
LIBKMOD_AGE=2
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -221,6 +221,7 @@ AC_CONFIG_HEADERS(config.h)
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
man/Makefile
|
||||
+ libkmod/libkmod.pc
|
||||
libkmod/docs/Makefile
|
||||
libkmod/docs/version.xml
|
||||
])
|
Loading…
Reference in a new issue