From c8af764db86a9ff04651ced2e936c9b548cb70d7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 21 Nov 2009 17:15:56 +0000 Subject: [PATCH] 2009-11-21 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added clang support to link to dylib with full dirspec (when Harbour is not used/installed in a system location) --- harbour/ChangeLog | 5 +++++ harbour/utils/hbmk2/hbmk2.prg | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4986007a38..e3047804df 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-21 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * utils/hbmk2/hbmk2.prg + + Added clang support to link to dylib with full dirspec + (when Harbour is not used/installed in a system location) + 2009-11-21 12:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Fixed to make clang behave like gcc when decorating lib references. diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index f44a622817..c81d207d9d 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -2077,10 +2077,10 @@ FUNCTION hbmk( aArgs, /* @ */ lPause ) DEFAULT hbmk[ _HBMK_lSHAREDDIST ] TO lSysLoc - IF hbmk[ _HBMK_lSHAREDDIST ] .OR. !( hbmk[ _HBMK_cCOMP ] == "gcc" ) + IF hbmk[ _HBMK_lSHAREDDIST ] .OR. !( hbmk[ _HBMK_cCOMP ] $ "gcc|clang" ) cPrefix := "" ELSE - /* Only supported by gcc compilers. */ + /* Only supported by gcc, clang compilers. */ cPrefix := DirAddPathSep( l_cHB_DYN_INSTALL ) ENDIF #if 1