[oe] [meta-oe][PATCH v2 2/2] lua: update Libs in lua.pc

Maciej Borzecki maciej.borzecki at open-rnd.pl
Thu Feb 11 10:12:51 UTC 2016


Update Libs in lua.pc so that pkg-config --libs gives the correct list
of libraries for linking. This makes us effectively list the same
libraries as Fedora does.

Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
---
 meta-oe/recipes-devtools/lua/lua/lua.pc.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/lua/lua/lua.pc.in b/meta-oe/recipes-devtools/lua/lua/lua.pc.in
index fe220160374a2a7261ed9ada91d0c8f9969bf3b6..c27e86e85dbe2f68f8c5240d0f6d4f4eb9c33383 100644
--- a/meta-oe/recipes-devtools/lua/lua/lua.pc.in
+++ b/meta-oe/recipes-devtools/lua/lua/lua.pc.in
@@ -6,6 +6,5 @@ Name: Lua
 Description: Lua language engine
 Version: @VERSION@
 Requires:
-Libs: -L${libdir} -llua
-Libs.private: -lm
+Libs: -L${libdir} -llua -lm -ldl
 Cflags: -I${includedir}
-- 
2.5.0




More information about the Openembedded-devel mailing list