diff --git a/build.sh b/build.sh index 4427a2c..0e9a8fc 100755 --- a/build.sh +++ b/build.sh @@ -381,7 +381,7 @@ bdist() { fi fi done - if [ "$package" = openslide ]; then + if [ "$package" = openslide && "$os" = win ]; then # check for extra symbol exports symbols=$(${objdump} -p "${root}"/bin/libopenslide-*.dll | \ awk -v t=0 \