aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/piccontrol
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2010-03-28 13:48:41 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2010-03-28 13:53:29 +0200
commit4f09fde620f4eb1d04b92ec6383fbf7b87d3c548 (patch)
tree8760a66c87e9e2c0c342c21c05e3483dfcec5b2a /recipes/piccontrol
parent487e437cb0280bb6351f8c7244fa7412dab3495d (diff)
downloadopenembedded-4f09fde620f4eb1d04b92ec6383fbf7b87d3c548.tar.gz
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 <camelguo@gmail.com> 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.
Diffstat (limited to 'recipes/piccontrol')
-rw-r--r--recipes/piccontrol/piccontrol_0.4.bb4
1 files 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() {