Lines 241-249
Link Here
|
241 |
|
241 |
|
242 |
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" |
242 |
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" |
243 |
|
243 |
|
244 |
if [[ $(get_libdir) != "lib" ]] ; then |
244 |
# For the library path, use what the compiler knows to look |
245 |
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)" |
245 |
# in already, rather than defaulting to /'s libraries paths, and |
246 |
fi |
246 |
# avoid adding /usr/local as that's polluting the environment to |
|
|
247 |
# start with |
248 |
myconf "-Dlibpth=$( $(tc-getCC) -print-search-dirs | grep libraries | cut -d = -f 2 | tr ':' ' ' )" |
247 |
|
249 |
|
248 |
sh Configure -des \ |
250 |
sh Configure -des \ |
249 |
-Darchname="${myarch}" \ |
251 |
-Darchname="${myarch}" \ |