diff options
author | Liong Sauw Ming <ming@teluu.com> | 2016-03-17 02:56:27 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2016-03-17 02:56:27 +0000 |
commit | c93bf034698d017a05a894c9f354af076d6bb4c6 (patch) | |
tree | 39bf5650d33849eb8a2a3a84bda2b11438c4a9c2 /aconfigure | |
parent | b34d991ffe7f1af76d9b20a52b780ce6d782429d (diff) |
Fixed #1909: GUID implementation for Android.
Thanks to Johan Lantz for the contribution.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5264 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure')
-rwxr-xr-x | aconfigure | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -5733,11 +5733,18 @@ case $target in ;; esac # UUID - if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then - ac_os_objs="$ac_os_objs guid_uuid.o" - else - ac_os_objs="$ac_os_objs guid_simple.o" - fi + case $target in + *android*) + ac_os_objs="$ac_os_objs guid_android.o" + ;; + *) + if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then + ac_os_objs="$ac_os_objs guid_uuid.o" + else + ac_os_objs="$ac_os_objs guid_simple.o" + fi + ;; + esac ;; esac |