@@ -96,19 +96,22 @@ ls bindings/headers/imageflow_default.h | cat
9696echo " --------------------------------"
9797cp -R " ./${REL_BINARIES_DIR} " libimageflow* ./artifacts/staging/ || true
9898cp -R " ./${REL_BINARIES_DIR} " imageflow_* ./artifacts/staging/
99+ cp -R " ./${REL_BINARIES_DIR} " ${LIBIMAGEFLOW_DYNAMIC} ./artifacts/staging/
99100# tool should always exist
100101cp -R " ./${REL_BINARIES_DIR} " ${IMAGEFLOW_TOOL} ./artifacts/staging/
101102cp bindings/headers/* .h ./artifacts/staging/headers/
102103cp bindings/headers/imageflow_default.h ./artifacts/staging/imageflow.h
103104
104- # Verify and copy installation scripts
105- for script in " ./ci/packaging_extras/" {install,uninstall}.sh; do
106- if [ ! -f " $script " ]; then
107- echo " Error: Required installation script not found: $script "
108- exit 1
109- fi
110- cp " $script " ./artifacts/staging/
111- done
105+ # Verify and copy installation scripts, IF LIBIMAGEFLOW_DYNAMIC!=imageflow.dll
106+ if [ " ${LIBIMAGEFLOW_DYNAMIC} " != " imageflow.dll" ]; then
107+ for script in " ./ci/packaging_extras/" {install,uninstall}.sh; do
108+ if [ ! -f " $script " ]; then
109+ echo " Error: Required installation script not found: $script "
110+ exit 1
111+ fi
112+ cp " $script " ./artifacts/staging/
113+ done
114+ fi
112115
113116# Clean up unnecessary files
114117rm ./artifacts/staging/* .{o,d,rlib} 2> /dev/null || true
0 commit comments