[oe-commits] Stefan Schmidt : piccontrol_0.4.bb: Fix linking against lua.

git version control git at git.openembedded.org
Sun Mar 28 17:27:19 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 4f09fde620f4eb1d04b92ec6383fbf7b87d3c548
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4f09fde620f4eb1d04b92ec6383fbf7b87d3c548

Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date:   Sun Mar 28 13:48:41 2010 +0200

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 at 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.

---

 recipes/piccontrol/piccontrol_0.4.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/piccontrol/piccontrol_0.4.bb b/recipes/piccontrol/piccontrol_0.4.bb
index cfdef98..f120d22 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() {





More information about the Openembedded-commits mailing list