Changeset 5553


Ignore:
Timestamp:
Jan 31, 2017 8:19:50 AM (8 years ago)
Author:
riza
Message:

Re #1994 (misc): miphoneos-version-min not set when specifying MIN_IOS on configure-iphone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/configure-iphone

    r5453 r5553  
    120120 
    121121if test "${MIN_IOS}" = ""; then 
    122   MIN_IOS="7.0" 
    123   echo "$F: MIN_IOS is not specified, choosing ${MIN_IOS}" 
    124   CFLAGS="${CFLAGS} -miphoneos-version-min=${MIN_IOS}" 
    125   LDFLAGS="${LDFLAGS} -miphoneos-version-min=${MIN_IOS}" 
     122  MIN_IOS_VER="7.0" 
     123  echo "$F: MIN_IOS is not specified, choosing ${MIN_IOS_VER}" 
     124  MIN_IOS="-miphoneos-version-min=${MIN_IOS_VER}" 
    126125fi 
     126CFLAGS="${CFLAGS} ${MIN_IOS}" 
     127LDFLAGS="${LDFLAGS} ${MIN_IOS}" 
     128 
    127129 
    128130# Set CXX if not set 
     
    146148if test "1" = "1"; then 
    147149  echo "$F: calling ./aconfigure with env vars:" 
     150  echo " MIN_IOS = ${MIN_IOS}" 
    148151  echo " CC = ${CC}" 
    149152  echo " CXX = ${CXX}" 
Note: See TracChangeset for help on using the changeset viewer.