2010-06-15 03:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* bin/postinst.sh
    + Posixify by Tamas Tevesz. Thanks!
This commit is contained in:
Viktor Szakats
2010-06-15 01:36:43 +00:00
parent 5a4a67ee72
commit fdb44d06b9
2 changed files with 8 additions and 4 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-06-15 03:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
+ Posixify by Tamas Tevesz. Thanks!
2010-06-15 02:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
* mpkg_rpm.sh

View File

@@ -81,15 +81,15 @@ mk_hblibso()
linker_options="-lm"
fi
linker_mtoptions=""
if [ "${HB_USER_CFLAGS//-DHB_POSIX_REGEX/}" != "${HB_USER_CFLAGS}" ]; then
hb_libs="${hb_libs//hbpcre/}"
if echo ${HB_USER_CFLAGS} | grep -q -- -DHB_POSIX_REGEX ; then
hb_libs="$( echo ${hb_libs} | sed 's!hbpcre!!g' )"
elif [ -z "${HB_HAS_PCRE_LOCAL}" ]; then
linker_options="-lpcre ${linker_options}"
hb_libs="${hb_libs//hbpcre/}"
hb_libs="$( echo ${hb_libs} | sed 's!hbpcre!!g' )"
fi
if [ -z "${HB_HAS_ZLIB_LOCAL}" ]; then
linker_options="-lz ${linker_options}"
hb_libs="${hb_libs//hbzlib/}"
hb_libs="$( echo ${hb_libs} | sed 's!hbzlib!!g' )"
fi
if [ "${HB_COMPILER}" = "mingw" ] || [ "${HB_COMPILER}" = "mingw64" ]; then
linker_options="${linker_options} -luser32 -lwinspool -lgdi32 -lcomctl32 -ladvapi32 -lcomdlg32 -lole32 -loleaut32 -luuid -lws2_32"