Skip to content

Commit

Permalink
fix startswith issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaduser committed Sep 9, 2023
1 parent aba35b7 commit e277443
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions kivy_ios/tools/cpplink
Original file line number Diff line number Diff line change
Expand Up @@ -65,34 +65,7 @@ while i < len(sys.argv):
i += 1
continue

if opt.startswith("-I"):
continue

if opt.startswith("-m"):
continue

if opt.startswith("-f"):
continue

if opt.startswith("-O"):
continue

if opt.startswith("-g"):
continue

if opt.startswith("-D"):
continue

if opt.startswith('-arch'):
continue

if opt.startswith("-Wl,"):
continue

if opt.startswith("-W"):
continue

if opt.startswith("-stdlib="):
if opt.startswith(("-I", "-m", "-f", "-O", "-g", "-D", "-arch", "-Wl", "-W", "-stdlib=")):
continue

if opt.startswith("-"):
Expand Down

0 comments on commit e277443

Please sign in to comment.