package/luv: install libluv.pc.in
Archive 1.30.1-0 doesn't contain libluv.pc.in which will break the build
Fixes:
- http://autobuild.buildroot.org/results/5ec6b5a3622c343f7e401b7da7d4a1da15be2733
This issue has been fixed upstream in
946784fba0
,
which should be in the next release.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
1e0dfcd50a
commit
2e5ab464b7
12
package/luv/libluv.pc.in
Normal file
12
package/luv/libluv.pc.in
Normal file
@ -0,0 +1,12 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libluv
|
||||
Version: @LUV_VERSION@
|
||||
Description: Bare and full libuv bindings for Lua/LuaJIT.
|
||||
URL: https://github.com/luvit/luv
|
||||
|
||||
Libs: -L${libdir} -lluv @LIBS@
|
||||
Cflags: -I${includedir}
|
@ -11,6 +11,12 @@ LUV_LICENSE_FILES = LICENSE.txt
|
||||
LUV_DEPENDENCIES = libuv
|
||||
LUV_INSTALL_STAGING = YES
|
||||
|
||||
# Archive 1.30.1-0 doesn't contain libluv.pc.in so install it in this hook
|
||||
define LUV_INSTALL_PC_IN
|
||||
cp package/luv/libluv.pc.in $(@D)/
|
||||
endef
|
||||
LUV_POST_EXTRACT_HOOKS += LUV_INSTALL_PC_IN
|
||||
|
||||
LUV_CONF_OPTS += \
|
||||
-DBUILD_MODULE=OFF \
|
||||
-DWITH_SHARED_LIBUV=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user