summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-15 15:44:24 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-15 17:24:39 +0100
commitdeb6451f3bbc44afe4a798e0fd28ab395bea840a (patch)
treed697ad32201f4c63e32d1348e6286845799c61da
parent7eaf07eea371fadbc48c4d59c8b49bf8daf2eb6a (diff)
fdo#43707: tweak workarounds for fdo#42865:
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown reasons, so use the old mapfiles on that platform. Should fix regressions from 5f1799f5.
-rw-r--r--lingucomponent/source/languageguessing/makefile.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/makefile.mk b/lingucomponent/source/languageguessing/makefile.mk
index a99e1f474ec6..2e2e22ee48c1 100644
--- a/lingucomponent/source/languageguessing/makefile.mk
+++ b/lingucomponent/source/languageguessing/makefile.mk
@@ -70,13 +70,16 @@ SHL1STDLIBS= \
$(UNOTOOLSLIB)
# build DLL
+.IF "$(GUI)"=="WNT"
+SHL1VERSIONMAP=$(SOLARENV)/src/component.map
+.ELSE # just a quick hack for GCC fdo#42865
+SHL1USE_EXPORTS = name
+.ENDIF
SHL1LIBS= $(SLB)$/$(TARGET).lib
SHL1IMPLIB= i$(TARGET)
SHL1DEPN= $(SHL1LIBS)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
-SHL1VERSIONMAP=$(SOLARENV)/src/component.map
-
# build DEF file
DEF1NAME =$(SHL1TARGET)
DEF1EXPORTFILE= exports.dxp