Changeset 2e3f88f for wscript


Ignore:
Timestamp:
Dec 28, 2023, 12:30:21 PM (11 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
master
Children:
c1303c6
Parents:
b16e592
git-author:
Paul Brossier <piem@piem.org> (12/28/23 11:55:47)
git-committer:
Paul Brossier <piem@piem.org> (12/28/23 12:30:21)
Message:

[waf] tighten platform check when cross-compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rb16e592 r2e3f88f  
    286286            ctx.env.CFLAGS += [ '-miphoneos-version-min=' + MINSDKVER ]
    287287            ctx.env.LINKFLAGS += [ '-miphoneos-version-min=' + MINSDKVER ]
    288         else:
     288        elif target_platform == 'iosimulator':
    289289            ctx.env.CFLAGS += [ '-arch', 'x86_64' ]
    290290            ctx.env.CFLAGS += [ '-arch', 'arm64' ]
Note: See TracChangeset for help on using the changeset viewer.