@@ -3,10 +3,14 @@ if [ "${KC_TCL_STATICPKGS}" != '1' ]; then exit 0 fi for makefile in {unix,win,macosx}/Makefile.in; do + if [ ! -f "${makefile}" ]; then + continue + fi + sed 's@--enable-shared@--disable-shared CFLAGS="-fPIC" @g' "${makefile}" > "${makefile}.new" cat "${makefile}.new" > "${makefile}" rm -f "${makefile}.new" done