dialog: removed hardcoded -L/lib ld flag from configure.
authorFilip Zyzniewski <filip.zyzniewski@gmail.com>
Mon, 30 Aug 2010 16:48:21 +0000 (18:48 +0200)
committerKristoffer Ericson <kristoffer.ericson@jlime.(none)>
Wed, 8 Sep 2010 12:33:32 +0000 (14:33 +0200)
commit52405b05a859e5856716e5292288253844c6bbaf
tree3b6cf10f8ba719fee20405e0e2a9c63e59c16b80
parentd89f47cc3f8fcb8ea0576f6dfed22b6219d4850a
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.
recipes/dialog/dialog.inc