Ignore:
Timestamp:
Aug 5, 2010 6:27:20 AM (9 years ago)
Author:
bennylp
Message:

Re #1068 (misc): fixed error in cross compiling Mingw on a Linux box (thanks Atik Khan for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3205 r3246  
    34323432 
    34333433 
     3434if test -z "$CROSS_COMPILE"; then 
     3435    CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'` 
     3436fi 
     3437 
    34343438if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi 
    34353439 
     
    34613465 
    34623466 
    3463 case $target in 
     3467 
     3468case $host in 
    34643469    *mingw* | *cygw* | *win32* | *w32* ) 
    3465         ac_pjdir=`pwd -W` 
     3470        if pwd -W 2&> /dev/null; then 
     3471           ac_pjdir=`pwd -W` 
     3472        else 
     3473           # We're probably cross-compiling mingw on Linux 
     3474           ac_pjdir=`pwd` 
     3475        fi 
    34663476        ;; 
    34673477    *) 
Note: See TracChangeset for help on using the changeset viewer.