Changes in / [1a57b893:e46e077]
Legend:
- Unmodified
- Added
- Removed
-
configure
r1a57b893 re46e077 74 74 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) 75 75 $ssl 76 --arch=... Override target architecture $arch 77 76 77 --target=... Cross compilation target same as host 78 78 EOF 79 79 exit; … … 134 134 EOF 135 135 136 if [ -n "$target" ]; then 137 PKG_CONFIG_PATH=/usr/$target/lib/pkgconfig 138 PATH=/usr/$target/bin:$PATH 139 CC=$target-cc 140 LD=$target-ld 141 fi 142 136 143 if [ "$debug" = "1" ]; then 137 144 [ -z "$CFLAGS" ] && CFLAGS=-g … … 160 167 echo "CC=$CC" >> Makefile.settings; 161 168 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 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 170 179 171 180 if [ -z "$PKG_CONFIG" ]; then … … 505 514 esac 506 515 516 if [ -n "$target" ]; then 517 echo "Cross-compiling for: $target" 518 fi 519 507 520 echo 508 521 echo 'Configuration done:'
Note: See TracChangeset
for help on using the changeset viewer.