PKGBUILDs/cmake/mingw-w64/mingw-cmake-py.sh
Martchus d35652e480 Make mingw-w64 compile flags configurable
* Sync configure and cmake with latest AUR versions
* Get rid of -g by default
* Not tested yet
2018-12-31 00:14:47 +01:00

9 lines
266 B
Bash

#!/bin/sh
mingw_prefix=/usr/@TRIPLE@
@TRIPLE@-cmake \
-DPYTHON_INCLUDE_DIR=${mingw_prefix}/include/python@PYMAJMIN@ \
-DPYTHON_LIBRARY=${mingw_prefix}/lib/libpython@PYMAJMIN@.dll.a \
-DPYTHON_EXECUTABLE=/usr/bin/@TRIPLE@-python@PYMAJMIN@-bin \
"$@"