diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 793808a2c1..d6d35bb7bc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-27 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/bin/postinst.sh + ! fixed hb-mkslib link. Please test this version in MSys. + 2009-02-27 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_gnu.bat + Made them accept HB_BUILD_DLL=yes. diff --git a/harbour/bin/postinst.sh b/harbour/bin/postinst.sh index 5bbae1d27a..538b1e29b2 100755 --- a/harbour/bin/postinst.sh +++ b/harbour/bin/postinst.sh @@ -86,9 +86,9 @@ then # Compatibility hb-mkslib creation. Please use hb-mkdyn instead. if [ -n "${hb_mkdyn}" ] && [ -f "${hb_mkdyn}" ]; then - hb_mkdyn="${hb_mkdyn//-mkdyn/-mkslib}" - rm -f "${hb_mkdyn}" - ln -s "${hb_root}/bin/hb-mkdyn.sh" "${hb_mkdyn}" + hb_mkdyn="${HB_TOOLS_PREF-hb}-mkslib" + (cd "${HB_BIN_INSTALL}" && rm -f "${hb_mkdyn}" && \ + ln -s "hb-mkdyn" "${hb_mkdyn}") fi mk_hbtools "${HB_BIN_INSTALL}" "$@"