summaryrefslogtreecommitdiff
path: root/aconfigure
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2016-03-17 02:56:27 +0000
committerLiong Sauw Ming <ming@teluu.com>2016-03-17 02:56:27 +0000
commitc93bf034698d017a05a894c9f354af076d6bb4c6 (patch)
tree39bf5650d33849eb8a2a3a84bda2b11438c4a9c2 /aconfigure
parentb34d991ffe7f1af76d9b20a52b780ce6d782429d (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-xaconfigure17
1 files changed, 12 insertions, 5 deletions
diff --git a/aconfigure b/aconfigure
index 33a08f51..82592e76 100755
--- a/aconfigure
+++ b/aconfigure
@@ -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