2009-04-08 03:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
! Possible fix for *nix shared lib problem when Harbour
is installed in system location. Couldn't test it.
* ar now called with 'rcs' parameter (was: cr).
Advertized as runlib equivalent, but it doesn't seem to
make any difference.
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-04-08 03:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Possible fix for *nix shared lib problem when Harbour
|
||||
is installed in system location. Couldn't test it.
|
||||
* ar now called with 'rcs' parameter (was: cr).
|
||||
Advertized as runlib equivalent, but it doesn't seem to
|
||||
make any difference.
|
||||
|
||||
2009-04-08 02:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Fixed bug in yesterday's changes.
|
||||
|
||||
@@ -1227,6 +1227,9 @@ PROCEDURE Main( ... )
|
||||
|
||||
DO CASE
|
||||
CASE t_cARCH $ "bsd|linux|hpux|sunos" .OR. t_cARCH == "darwin" /* Separated to avoid match with 'win' */
|
||||
IF Empty( cPrefix )
|
||||
cDynLibNamePrefix := ""
|
||||
ENDIF
|
||||
s_aLIBSHARED := { iif( s_lMT, cPrefix + cDynLibNamePrefix + "harbourmt" + cPostfix + cDynLibExt,;
|
||||
cPrefix + cDynLibNamePrefix + "harbour" + cPostfix + cDynLibExt ) }
|
||||
CASE t_cARCH $ "os2|win|wce"
|
||||
@@ -1287,7 +1290,7 @@ PROCEDURE Main( ... )
|
||||
cLibExt := ""
|
||||
cObjExt := ".o"
|
||||
cBin_Lib := t_cCCPREFIX + "ar"
|
||||
cOpt_Lib := "{FA} cr {OL} {LO}"
|
||||
cOpt_Lib := "{FA} rcs {OL} {LO}"
|
||||
cBin_CompC := t_cCCPREFIX + iif( t_cCOMP == "gpp" .OR. s_lCPP, "g++", "gcc" )
|
||||
IF ! Empty( t_cCCPATH )
|
||||
cBin_Lib := t_cCCPATH + "/" + cBin_Lib
|
||||
@@ -1429,7 +1432,7 @@ PROCEDURE Main( ... )
|
||||
cLibPathSep := " "
|
||||
cLibLibExt := ".a"
|
||||
cBin_Lib := t_cCCPREFIX + "ar.exe"
|
||||
cOpt_Lib := "{FA} cr {OL} {LO}"
|
||||
cOpt_Lib := "{FA} rcs {OL} {LO}"
|
||||
cLibObjPrefix := NIL
|
||||
IF ! Empty( t_cCCPATH )
|
||||
cBin_Lib := t_cCCPATH + "\" + cBin_Lib
|
||||
|
||||
Reference in New Issue
Block a user