summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-05-31 21:53:32 +0900
committertono <tono@openoffice.org>2010-05-31 21:53:32 +0900
commit9bc06e6ac0d2031e6ed95229b0c1e1cf7d86ee90 (patch)
tree8e969c864bf1b0d87370851d03bf019f8c8cc535 /python
parentd1d09abe2763b4dffe63db568cc1472505f057d5 (diff)
i#111958: MinGW port enhancement: runtime-pseude-reloc-v2
Diffstat (limited to 'python')
-rw-r--r--python/makefile.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 86d9835e8604..a35e596669a0 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -93,6 +93,7 @@ python_LDFLAGS=-mno-cygwin -mthreads
.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
python_LDFLAGS+=-shared-libgcc
.ENDIF
+python_LDFLAGS+=-shared-libgcc -Wl,--enable-runtime-pseudo-reloc-v2
CONFIGURE_ACTION=./configure --prefix=$(MYCWD)/python-inst --enable-shared CC="$(CC:s/guw.exe //)" CXX="$(CXX:s/guw.exe //)" MACHDEP=MINGW32 LN="cp -p" CFLAGS="$(python_CFLAGS)" LDFLAGS="$(python_LDFLAGS)"
BUILD_ACTION=$(ENV_BUILD) make && make install
.ELSE