Allows running complied binaries on build machine.
Unified · Split
| @@ -54,7 +54,7 @@ jobs: · 53 unmodified lines | |||
| 54 | run: | | 54 | run: | |
| 55 | sudo dpkg --add-architecture i386 | 55 | sudo dpkg --add-architecture i386 |
| 56 | sudo apt-get update | 56 | sudo apt-get update |
| 57 | sudo apt-get install -y ccache g++-mingw-w64 gcc-multilib nasm ninja-build pkg-config python3-pip wine | 57 | sudo apt-get install -y ccache g++-mingw-w64 gcc-multilib nasm ninja-build pkg-config python3-pip wine wine32 wine64 |
| 58 | sudo python3 -m pip install meson | 58 | sudo python3 -m pip install meson |
| 59 | 59 | ||
| 60 | - name: Build libraries | 60 | - name: Build libraries |
| @@ -23,6 +23,10 @@ export LDFLAGS="-fstack-protector-strong" · 22 unmodified lines | |||
| 23 | export PKG_CONFIG_SYSROOT_DIR="$prefix_dir" | 23 | export PKG_CONFIG_SYSROOT_DIR="$prefix_dir" |
| 24 | export PKG_CONFIG_LIBDIR="$PKG_CONFIG_SYSROOT_DIR/lib/pkgconfig" | 24 | export PKG_CONFIG_LIBDIR="$PKG_CONFIG_SYSROOT_DIR/lib/pkgconfig" |
| 25 | 25 | ||
| 26 | if [[ "$TARGET" == "i686-"* ]]; then | ||
| 27 | export WINEPATH="`$CC -print-file-name=`;/usr/$TARGET/lib" | ||
| 28 | fi | ||
| 29 | |||
| 26 | # autotools(-like) | 30 | # autotools(-like) |
| 27 | commonflags="--disable-static --enable-shared" | 31 | commonflags="--disable-static --enable-shared" |
| 28 | 32 | ||
| @@ -41,6 +45,7 @@ strip = '${TARGET}-strip' · 12 unmodified lines | |||
| 41 | pkgconfig = 'pkg-config' | 45 | pkgconfig = 'pkg-config' |
| 42 | windres = '${TARGET}-windres' | 46 | windres = '${TARGET}-windres' |
| 43 | dlltool = '${TARGET}-dlltool' | 47 | dlltool = '${TARGET}-dlltool' |
| 48 | exe_wrapper = 'wine' | ||
| 44 | [host_machine] | 49 | [host_machine] |
| 45 | system = 'windows' | 50 | system = 'windows' |
| 46 | cpu_family = '${fam}' | 51 | cpu_family = '${fam}' |