summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-15 14:32:40 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-15 17:28:35 +0100
commit6fd2d815174df8274153ddb7e99eab26ab7e563c (patch)
tree650ebd8fdfcb336458c4efef773d3b80caa5993a /sdext
parente87fc0bfde8bd48b449e123c1bdd28e1359e8c77 (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 1fb5eb21, 48dbaa51, a9da5a0b.
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/makefile.mk4
-rw-r--r--sdext/source/presenter/makefile.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/makefile.mk b/sdext/source/pdfimport/makefile.mk
index 9262ef654dff..641e90fbcc94 100644
--- a/sdext/source/pdfimport/makefile.mk
+++ b/sdext/source/pdfimport/makefile.mk
@@ -91,7 +91,11 @@ SHL1STDLIBS=\
SHL1DEPN=
SHL1IMPLIB= i$(SHL1TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+.IF "$(GUI)"=="WNT"
+SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
+.ELSE # just a quick hack for GCC fdo#42865
SHL1USE_EXPORTS = name
+.ENDIF
SHL1RPATH=OXT
DEF1NAME=$(SHL1TARGET)
diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk
index 6d9e5bb6f6c4..7d74d96420a8 100644
--- a/sdext/source/presenter/makefile.mk
+++ b/sdext/source/presenter/makefile.mk
@@ -108,7 +108,11 @@ SHL1DEPN=
SHL1IMPLIB= i$(SHL1TARGET)
SHL1LIBS= $(SLB)$/$(TARGET).lib
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+.IF "$(GUI)"=="WNT"
+SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
+.ELSE # just a quick hack for GCC fdo#42865
SHL1USE_EXPORTS = name
+.ENDIF
SHL1RPATH= OXT
DEF1NAME= $(SHL1TARGET)