fixed bugs on windows

This commit is contained in:
2024-08-10 00:51:34 +03:00
parent 2710e5fc9d
commit 1859b432df
6 changed files with 46 additions and 15 deletions

View File

@@ -11,12 +11,12 @@ PRESERVE_OUT_DIRECTORY_STRUCTURE=true
# will be copied tp project $OUTDIR
case $OS in
WINDOWS)
DEP_DYNAMIC_OUT_FILES="$(find dependencies/precompiled -name '*.dll' | sed 's,dependencies/precompiled/,,')"
DEP_OTHER_OUT_FILES=""
DEP_DYNAMIC_OUT_FILES=$(find dependencies/precompiled -maxdepth 1 -name '*.dll' | sed 's,dependencies/precompiled/,,')
DEP_OTHER_OUT_FILES="mono-libs/mscorlib.dll mono-libs/config.xml"
# DEP_STATIC_OUT_FILES+=" mono-libs/libmono-static-sgen.lib"
;;
LINUX)
DEP_DYNAMIC_OUT_FILES="$(find dependencies/precompiled -name '*.so' | sed 's,dependencies/precompiled/,,')
$(find dependencies/precompiled -name '*.so.*' | sed 's,dependencies/precompiled/,,')"
DEP_DYNAMIC_OUT_FILES=$(find dependencies/precompiled -name '*.so' | sed 's,dependencies/precompiled/,,')
DEP_OTHER_OUT_FILES="mono-libs/mscorlib.dll mono-libs/config.xml"
;;
*)