mirror of https://git.wownero.com/dsc/mxe.git
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:
parent
a449841274
commit
01dc8941ec
|
@ -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))'; \
|
||||
|
|
Loading…
Reference in New Issue