From 4f09fde620f4eb1d04b92ec6383fbf7b87d3c548 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Sun, 28 Mar 2010 13:48:41 +0200 Subject: [PATCH] piccontrol_0.4.bb: Fix linking against lua. Lua is staged as liblua.a instead of liblua5.1.a correct LDFLAGS accordingly. Courtesy Guo Hongruan for finding out about the porblem and preparing the initial fix. While being there I also commented out COMPATIBLE_MACHINE as it builds fine for other machines even it may be only usefull on the specific one. --- recipes/piccontrol/piccontrol_0.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/piccontrol/piccontrol_0.4.bb b/recipes/piccontrol/piccontrol_0.4.bb index cfdef98b3c..f120d22051 100644 --- a/recipes/piccontrol/piccontrol_0.4.bb +++ b/recipes/piccontrol/piccontrol_0.4.bb @@ -3,7 +3,7 @@ SECTION = "console/network" DEPENDS = "lua5.1" PR = "r1" LICENSE = "GPL" -COMPATIBLE_MACHINE = "tsx09" +#COMPATIBLE_MACHINE = "tsx09" SRC_URI = "http://byronbradley.co.uk/piccontrol/qcontrol-0.4.tar.gz \ file://luafix-0.4.patch;patch=0 \ @@ -17,7 +17,7 @@ inherit update-rc.d INITSCRIPT_NAME = "piccontrol" INITSCRIPT_PARAMS = "defaults" -LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl " +LDFLAGS += " ${STAGING_LIBDIR}/liblua.a -lpthread -lm -ldl " CFLAGS += " -I${STAGING_INCDIR}/lua5.1 " do_install() { -- 2.39.5