[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
build.sh vs. LD_RUN_PATH
I've had some fun finding out why build.sh failed in src/lib/libz when
crossbuilding from Linux. The failure was because the tools lint picked up
the NetBSD libz.so in the obj dir instead of the system libz.so. This in
turn was because I had set LD_RUN_PATH to something that included "." when
the tools lint was linked. Which leads me to the question:
Can build.sh be made to erase the environment, to not pick up random stuff?
(think 'env -i')?
FWIW, the effect of this can be seen at http://pastebin.com/m9b0f0d9
Main Index |
Thread Index |