mxe-conf: create .gitkeep in CMAKE_TOOLCHAIN_DIR

It is needed for build-pkg and #1111, Git doesn't see empty directories.
This commit is contained in:
Boris Nagaev 2016-01-04 11:01:24 +01:00 committed by Tony Theodore
parent a449841274
commit 01dc8941ec
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ define $(PKG)_BUILD
# individual packages (e.g. hdf5) should add their
# own files under CMAKE_TOOLCHAIN_DIR
[ -d '$(CMAKE_TOOLCHAIN_DIR)' ] || mkdir -p '$(CMAKE_TOOLCHAIN_DIR)'
touch '$(CMAKE_TOOLCHAIN_DIR)/.gitkeep'
(echo 'set(CMAKE_SYSTEM_NAME Windows)'; \
echo 'set(MSYS 1)'; \
echo 'set(BUILD_SHARED_LIBS $(if $(BUILD_SHARED),ON,OFF))'; \