Skip to content

Commit

Permalink
wscript: hack build on android
Browse files Browse the repository at this point in the history
  • Loading branch information
Velaron committed Feb 8, 2024
1 parent 5deb82a commit 199f77e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def build(bld):
app_name = 'xash3d-fwgs'
)
else:
if bld.env.DISABLE_LAUNCHER:
# always build as shared library on Android
if bld.env.DISABLE_LAUNCHER and bld.env.DEST_OS != "android":
install_path = bld.env.BINDIR
program = 'cxxprogram' if is_cxx_link else 'cprogram'
if bld.env.STATIC:
Expand Down

0 comments on commit 199f77e

Please sign in to comment.