diff options
author | Sven Gothel <[email protected]> | 2019-08-18 01:44:31 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-18 01:44:31 +0200 |
commit | 4df5aea16fba71b43b78fc6a878fb68c01294a3a (patch) | |
tree | 596c9c0c1d0b35e979cd9d4e82e3feb48006e246 /make | |
parent | 65195899777be7be194db59bd668d22c70f29145 (diff) |
iOS: Fix native symbol generation for Windows
Regression from commit 8ce56955f989f0d8ac21335ea563f9c7eb111154
Diffstat (limited to 'make')
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index d5c8963..32cf388 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -879,6 +879,7 @@ <condition property="c.strip.args" value="-S -x"><isset property="isIOS"/></condition> <property name="c.strip.args" value="" /> + <condition property="awk_executable" value="gawk" else="awk"><isset property="isWindows"/></condition> </target> <!-- Detect compiler setup, in particular on Windows; separated @@ -1953,7 +1954,7 @@ <arg value="--defined-only"/> <arg value="@{nativelib}"/> </exec> - <exec executable="awk" dir="@{builddir}" output="@{symbolsfile}"> + <exec executable="${awk_executable}" dir="@{builddir}" output="@{symbolsfile}"> <arg value="{ print $3 }"/> <arg value="@{symbolsfile}.raw"/> </exec> |