Changes in / [e46e077:1a57b893]
Legend:
- Unmodified
- Added
- Removed
-
configure
re46e077 r1a57b893 74 74 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) 75 75 $ssl 76 77 --target=... Cross compilation target same as host 76 --arch=... Override target architecture $arch 77 78 78 EOF 79 79 exit; … … 134 134 EOF 135 135 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 136 if [ "$debug" = "1" ]; then 144 137 [ -z "$CFLAGS" ] && CFLAGS=-g … … 167 160 echo "CC=$CC" >> Makefile.settings; 168 161 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 162 if [ -n "$LD" ]; then 163 echo "LD=$LD" >> Makefile.settings; 164 elif type ld > /dev/null 2> /dev/null; then 165 echo "LD=ld" >> Makefile.settings; 166 else 167 echo 'Cannot find ld, aborting.' 168 exit 1; 169 fi 179 170 180 171 if [ -z "$PKG_CONFIG" ]; then … … 514 505 esac 515 506 516 if [ -n "$target" ]; then517 echo "Cross-compiling for: $target"518 fi519 520 507 echo 521 508 echo 'Configuration done:'
Note: See TracChangeset
for help on using the changeset viewer.