From be7b8b0df895b981460d030a2080f7a9cc97c3af Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 26 Sep 2012 23:28:59 +0000 Subject: [PATCH] 2012-09-27 01:26 UTC+0200 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! add -static option for win-wce/mingw* platforms when -fullstatic hbmk2 option is used. (in sync with rest of platform). Reported by Przemek. Please checkme! --- harbour/ChangeLog | 7 +++++++ harbour/utils/hbmk2/hbmk2.prg | 3 +++ 2 files changed, 10 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5d2bef61ad..64bbddef87 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2012-09-27 01:26 UTC+0200 Viktor Szakats (harbour syenar.net) + * utils/hbmk2/hbmk2.prg + ! add -static option for win-wce/mingw* platforms + when -fullstatic hbmk2 option is used. (in sync + with rest of platform). Reported by Przemek. + Please checkme! + 2012-09-26 19:25 UTC+0200 Viktor Szakats (harbour syenar.net) * contrib/hbnf/datecnfg.prg * contrib/hbnf/dfile.prg diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index 316cae9ce8..313db685b5 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -4004,6 +4004,9 @@ FUNCTION hbmk( aArgs, nArgTarget, /* @ */ lPause, nLevel ) AAdd( hbmk[ _HBMK_aOPTL ], "-mconsole" ) ENDIF ENDIF + IF hbmk[ _HBMK_lSTATICFULL ] + AAdd( hbmk[ _HBMK_aOPTL ], "-static" ) + ENDIF IF hbmk[ _HBMK_lMAP ] AAdd( hbmk[ _HBMK_aOPTL ], "-Wl,-Map,{OM}" ) AAdd( hbmk[ _HBMK_aOPTD ], "-Wl,-Map,{OM}" )