Skip to content
Commit 62467040 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package/Makefile.in: ensure libtool doesn't search host dirs for libraries



Commit 7e3e8ec0 (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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a2e724a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment