Changes in configure [f1e7407:003553b]
Legend:
- Unmodified
- Added
- Removed
-
configure
rf1e7407 r003553b 74 74 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) 75 75 $ssl 76 77 --target=... Cross compilation target same as host78 76 EOF 79 77 exit; … … 134 132 EOF 135 133 136 if [ -n "$target" ]; then137 PKG_CONFIG_PATH=/usr/$target/lib/pkgconfig138 PATH=/usr/$target/bin:$PATH139 CC=$target-cc140 LD=$target-ld141 fi142 143 134 if [ "$debug" = "1" ]; then 144 135 [ -z "$CFLAGS" ] && CFLAGS=-g … … 167 158 echo "CC=$CC" >> Makefile.settings; 168 159 169 if [ -z "$LD" ]; then 170 if type ld > /dev/null 2> /dev/null; then 171 LD=ld 172 else 173 echo 'Cannot find ld, aborting.' 174 exit 1; 175 fi 176 fi 177 178 echo "LD=$LD" >> Makefile.settings 160 if [ -n "$LD" ]; then 161 echo "LD=$LD" >> Makefile.settings; 162 elif type ld > /dev/null 2> /dev/null; then 163 echo "LD=ld" >> Makefile.settings; 164 else 165 echo 'Cannot find ld, aborting.' 166 exit 1; 167 fi 179 168 180 169 if [ -z "$PKG_CONFIG" ]; then … … 500 489 esac 501 490 502 if [ -n "$target" ]; then503 echo "Cross-compiling for: $target"504 fi505 506 491 echo 507 492 echo 'Configuration done:'
Note: See TracChangeset
for help on using the changeset viewer.