From: Filip Zyzniewski Date: Mon, 30 Aug 2010 16:48:21 +0000 (+0200) Subject: dialog: removed hardcoded -L/lib ld flag from configure. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52405b05a859e5856716e5292288253844c6bbaf;p=openembedded.git dialog: removed hardcoded -L/lib ld flag from configure. this flag has caused this behaviour on my system (from config.log): configure:9177: checking for initscr in -lncurses configure:9204: arm-oe-linux-gnueabi-gcc -march=armv4 -mtune=strongarm -mthumb-interwork -mno-thumb -o conftest -Os -isystem/home/builds/fresh/jornada7xx/tmp/sysroots/armv4-oe-linux-gnueabi/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -L/home/builds/fresh/jornada7xx/tmp/sysroots/armv4-oe-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/builds/fresh/jornada7xx/tmp/sysroots/armv4-oe-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu conftest.c -lncurses -lm -L/lib >&5 /lib/libgcc_s.so.1: file not recognized: File format not recognized of course because my /lib/libgcc_s.so.1 is for i386 and I was building for an arm. --- diff --git a/recipes/dialog/dialog.inc b/recipes/dialog/dialog.inc index 939363468e..a434ec3960 100644 --- a/recipes/dialog/dialog.inc +++ b/recipes/dialog/dialog.inc @@ -12,5 +12,6 @@ SRC_URI = "ftp://invisible-island.net/dialog/dialog-${PV}.tgz" inherit autotools do_configure() { + sed -i "s:-L/lib::" "${S}/configure" oe_runconf }