2013-02-13 22:53 UTC+0100 Viktor Szakats (harbour syenar.net)

* utils/hbmk2/hbmk2.prg
    ! fixed libname suggestion in a very obscure case

  * utils/hbmk2/examples/contrib.hbc
  - utils/hbmk2/examples/contribf.hbc
    - deleted further .hbc examples with heavy contrib specific
      information. For live .hbc example it's best to check any 
      of them in /extras/*/ and /contrib/*/ directories
This commit is contained in:
Viktor Szakats
2013-02-13 21:55:00 +00:00
parent 842b89c24e
commit ceba217b82
4 changed files with 18 additions and 25 deletions

View File

@@ -10,6 +10,16 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-02-13 22:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
! fixed libname suggestion in a very obscure case
* utils/hbmk2/examples/contrib.hbc
- utils/hbmk2/examples/contribf.hbc
- deleted further .hbc examples with heavy contrib specific
information. For live .hbc example it's best to check any
of them in /extras/*/ and /contrib/*/ directories
2013-02-13 22:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
+ better detection of core libraries specified in user make files

View File

@@ -2,9 +2,9 @@
# $Id$
#
# Don't add here any contribs which have 3rd party dependencies
# or aren't equally available for all supported Harbour platforms.
# [vszakats]
# Some popular and portable Harbour contribs
hbcs=hbct hbmzip
# Some platform specific ones
{win}hbcs=hbwin
{unix}hbcs=hbunix

View File

@@ -1,21 +0,0 @@
#
# $Id$
#
# Full listing of Harbour contrib libs with availability.
# [ This should be kept in sync with local make file information. ]
# contribs portable, with no external dependencies:
hbcs=hbblink hbclipsm hbcomm hbct hbfoxpro hbfship hbgt hbmisc hbmzip hbnf hbsms hbtpathy hbxpp hbziparc rddbm rddsql xhb
# contribs portable, with external dependencies:
hbcs=hbcurl hbfbird hbgd hbhpdf hbmysql hbpgsql hbtip sddfb sddmy sddpg
# contribs with limited availability (some with external dependencies):
{!pocc&!xcc&!dmc&!watcom}hbcs=gtalleg
{!dos}hbcs=hbfimage hbssl
{linux|win}hbcs=rddads
{win}hbcs=gtwvg hbblat hbwin
hbcs=hbodbc
{!bsd&!hpux&!pocc}hbcs=hbsqlit3
{!wce}hbcs=hbbz2

View File

@@ -7367,6 +7367,10 @@ STATIC FUNCTION CheckLibParam( hbmk, cLibName, lHBC, aParam )
cOpt != NIL /* always include lib name suggestion, if there was a path in the value */
cOpt := hb_FNameName( cLibName )
/* readd empty extension */
IF Right( hb_FNameNameExt( cLibName ), 1 ) == "."
cOpt += "."
ENDIF
IF cExtL == ".a" .AND. Lower( Left( cOpt, 3 ) ) == "lib"
cOpt := SubStr( cOpt, 4 )
ENDIF