From 59feabb67a5b3d026731871c60344bb55418b68d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 17 Jul 2011 10:31:05 +0000 Subject: [PATCH] 2011-07-17 12:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmysql/hbmysql.hbc * contrib/sddmy/sddmy.hbc - deleted (most probably static) OpenSSL libs forced in .hbc file. if such requirements are present for certain versions/builds of 3rd party lib I suggest to add them via HB_USER_LDFLAGS options at build time. This way the build will not break when using different builds of these libs. The bottom line is that Harbour .hbc files are not the best place to track the dependency tree of libs linked statically to 3rd party libs. [to help such cases, maybe we can add them as comments, but even better if dynamic versions of these libs are used, so user don't have to deal with dependency tree at build time at all] --- harbour/ChangeLog | 14 ++++++++++++++ harbour/contrib/hbmysql/hbmysql.hbc | 2 +- harbour/contrib/sddmy/sddmy.hbc | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d976dad7d0..403ccf77eb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,20 @@ The license applies to all entries newer than 2009-04-28. */ +2011-07-17 12:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbmysql/hbmysql.hbc + * contrib/sddmy/sddmy.hbc + - deleted (most probably static) OpenSSL libs forced in .hbc file. + if such requirements are present for certain versions/builds of + 3rd party lib I suggest to add them via HB_USER_LDFLAGS options + at build time. This way the build will not break when using + different builds of these libs. The bottom line is that Harbour + .hbc files are not the best place to track the dependency tree + of libs linked statically to 3rd party libs. [to help such + cases, maybe we can add them as comments, but even better if + dynamic versions of these libs are used, so user don't have + to deal with dependency tree at build time at all] + 2011-07-17 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/hbide.hbp ! removed forced strip diff --git a/harbour/contrib/hbmysql/hbmysql.hbc b/harbour/contrib/hbmysql/hbmysql.hbc index 240f531a5e..3641531060 100644 --- a/harbour/contrib/hbmysql/hbmysql.hbc +++ b/harbour/contrib/hbmysql/hbmysql.hbc @@ -9,4 +9,4 @@ libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF} {unix}libs=mysqlclient {darwin}libpaths=/opt/local/lib/mysql5/mysql {win|dos}libs=libmysql -{os2}libs=mysqlclient libssl_s libcrypto_s +{os2}libs=mysqlclient diff --git a/harbour/contrib/sddmy/sddmy.hbc b/harbour/contrib/sddmy/sddmy.hbc index df1be5d897..9be8b9a8df 100644 --- a/harbour/contrib/sddmy/sddmy.hbc +++ b/harbour/contrib/sddmy/sddmy.hbc @@ -7,6 +7,6 @@ libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF} {unix}libs=mysqlclient {darwin}libpaths=/opt/local/lib/mysql5/mysql {win|dos}libs=libmysql -{os2}libs=mysqlclient libssl_s libcrypto_s +{os2}libs=mysqlclient libs=../rddsql/rddsql.hbc