[Harbour] Re: How to have back pcre and zlib in shared libs

2009-09-17 Thread Lorenzo Fiorini
On Thu, Sep 17, 2009 at 10:10 AM, Lorenzo Fiorini
lorenzo.fior...@gmail.com wrote:

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

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.

best regards,
Lorenzo
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: How to have back pcre and zlib in shared libs

2009-09-17 Thread Viktor Szakáts

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
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: How to have back pcre and zlib in shared libs

2009-09-17 Thread Lorenzo Fiorini
On Thu, Sep 17, 2009 at 12:24 PM, Viktor Szakáts harbour...@syenar.hu wrote:

 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.

Sure.

 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.

Gulp! I've completely missed it.

Many thanks.

best regards,
Lorenzo
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour