diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6f72b6dd09..0235fdba74 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,22 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-20 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * config/global.mk + * config/rules.mk + + Added HB_CFLAGS_DYN variable to pass lib specific options + specially directed to compilation phase when building + to create a .dll. Currently this affects pcre and zlib since + these are included in harbour .dll. + + * external/libhpdf/Makefile + * external/pcre/Makefile + * external/png/Makefile + * external/zlib/Makefile + + Configured HB_CFLAGS_DYN for these libs to properly create + exported symbols in harbour .dll. This was a problem so far + for any non-mingw made harbour .dll. + 2010-05-20 19:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c * minor cleanup diff --git a/harbour/config/global.mk b/harbour/config/global.mk index a3b23bb9ea..a3dabd593c 100644 --- a/harbour/config/global.mk +++ b/harbour/config/global.mk @@ -1107,6 +1107,8 @@ endif # Notice that even single lib/bin builds will currently # result in recursive runs, see rule 'descend'. [vszakats] HB_CFLAGS := +# C flags passed when compiling to create .dll +HB_CFLAGS_DYN := HB_LDFLAGS := HB_AFLAGS := HB_PRGFLAGS := diff --git a/harbour/config/rules.mk b/harbour/config/rules.mk index 816fb8bb37..4bb5a18660 100644 --- a/harbour/config/rules.mk +++ b/harbour/config/rules.mk @@ -45,7 +45,7 @@ ifeq ($(CC_RULE),) ifneq ($(filter $(LIBNAME),$(HB_DYN_LIBS)),) define cc_comp_all $(CC) $(subst $(CC_DIRSEPFROM),$(CC_DIRSEPTO),$(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(