diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 37f1e07b6e..2da7380af8 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-21 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * config/global.mk + + Showing warning when HB_BUILD_IMPLIB=yes is used without + 'install' make option. + 2010-05-20 23:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Fixed overlook in recent modification (put .def file macros diff --git a/harbour/config/global.mk b/harbour/config/global.mk index 2223e999d4..5863e4a786 100644 --- a/harbour/config/global.mk +++ b/harbour/config/global.mk @@ -226,6 +226,14 @@ ifeq ($(HB_INIT_DONE),) ifeq ($(HB_BUILD_DLL),no) export HB_BUILD_SHARED := no endif + + ifeq ($(HB_BUILD_IMPLIB),yes) + # 'install' is required to create import libraries + ifeq ($(filter install,$(HB_MAKECMDGOALS)),) + export HB_BUILD_IMPLIB := no + $(warning ! Warning: HB_BUILD_IMPLIB option works only when 'install' is requested.) + endif + endif endif # Make platform detection