I've found that:

1) change

export HB_HAS_ZLIB       := yes
export HB_HAS_ZLIB_LOCAL := yes
export HB_HAS_PCRE       := yes
export HB_HAS_PCRE_LOCAL := yes

in config/detect.mk

2) add hbzip and hbpcre to HB_EXTERNALLIBS

3) restore

#   echo "Making ${full_lib_name}..."
#   ${hb_mkdyn} ${full_lib_name} ${LIBS} ${linker_options}
#   if [ "${LIBS}" != "${LIBSMT}" ]; then
#       echo "Making ${full_lib_name_mt}..."
#       ${hb_mkdyn} ${full_lib_name_mt} ${LIBSMT} ${linker_mtoptions}
${linker_options}
#   fi

in hb-func.sh does the trick.

I can't speak of hbmk script errors you mention in your
first mail, but above changes effectively break detection
code and overwrite GNU Make dynlib generation, so pls
don't commit it.

Is there a configuration to have pcre and zlib "fully" included in the
libharbour.so like before?

We've discussed that the whole yesterday evening on the
list, and now end result is committed. With current Harbour
SVN, you need to set HB_INC_ZLIB=local and HB_INC_PCRE=local
to force such behavior.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to