package/Makefile.in: ensure libtool doesn't search host dirs for libraries
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 3 May 2011 13:23:40 +0000 (15:23 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 3 May 2011 13:23:40 +0000 (15:23 +0200)
commit6246704008ef219257f30a824903855d0e00cffb
tree2394c6400b86a38f97f4efce61fc3303a36fc723
parenta2e724a05b5c9a8ef8dadfb2154d1fd996f16fef
package/Makefile.in: ensure libtool doesn't search host dirs for libraries

Commit 7e3e8ec040b (CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR)
exposed a lingering libtool problem.

Unless instructed otherwise (using -L) libtool will search its built in
system path for libraries, and use those instead if found. The default
search path is '/usr/lib, /lib, /usr/local/lib', which is no good for
cross compilation.

Fix it by setting the system search path to the empty string, effectively
disabling this feature.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in