From: Stefan Schmidt Date: Sun, 28 Mar 2010 11:48:41 +0000 (+0200) Subject: piccontrol_0.4.bb: Fix linking against lua. X-Git-Tag: Release-2010-05/1~195 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f09fde620f4eb1d04b92ec6383fbf7b87d3c548;p=openembedded.git 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. --- 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() {