Ignore:
Timestamp:
Mar 17, 2016 2:56:27 AM (8 years ago)
Author:
ming
Message:

Fixed #1909: GUID implementation for Android.

Thanks to Johan Lantz for the contribution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r5247 r5264  
    456456        esac 
    457457        # UUID 
    458         if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
    459                 ac_os_objs="$ac_os_objs guid_uuid.o" 
    460         else 
    461                 ac_os_objs="$ac_os_objs guid_simple.o" 
    462         fi 
     458        case $target in 
     459          *android*) 
     460                ac_os_objs="$ac_os_objs guid_android.o" 
     461                ;; 
     462          *) 
     463                if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
     464                        ac_os_objs="$ac_os_objs guid_uuid.o" 
     465                else 
     466                        ac_os_objs="$ac_os_objs guid_simple.o" 
     467                fi 
     468                ;; 
     469        esac 
    463470        ;; 
    464471esac 
Note: See TracChangeset for help on using the changeset viewer.