use if instead of pattern matching in bld.sh
@@ -3,4 +3,8 @@ cmake --build . --config Release
# cmake --install $SRC_DIR -v
mkdir -p $PREFIX/bin $PREFIX/lib
install $SRC_DIR/bin/run-swmm $PREFIX/bin
-install $SRC_DIR/lib/?(*.so|*.dylib) $PREFIX/lib
+if [ $(uname) == Darwin ]; then
+ install $SRC_DIR/lib/*.dylib $PREFIX/lib
+else
+ install $SRC_DIR/lib/*.so $PREFIX/lib
+fi
