From ff75ad64bb064d97582c8e3992a9db7aa4e016e1 Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Fri, 4 Feb 2011 01:50:08 +0200
Subject: symbian/linux-gcce: Use -u _E32Dll when linking DLLs

This is required when using older binutils versions (CodeSourcery
2009q1 requires it, while CodeSourcery 4.4-172 doesn't require it)
with the linux-gcce mkspec. The -u option is already used in the same
way for exe files, and the abld build system invokes ld with -u _E32Dll,
too.

Signed-off-by: axis <qt-info@nokia.com>
Merge request: 2560
---
 mkspecs/symbian/linux-gcce/qmake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkspecs/symbian/linux-gcce/qmake.conf b/mkspecs/symbian/linux-gcce/qmake.conf
index faac2f1..648a591 100644
--- a/mkspecs/symbian/linux-gcce/qmake.conf
+++ b/mkspecs/symbian/linux-gcce/qmake.conf
@@ -54,7 +54,7 @@ DEFINES		+= __GCCE__ \
                    _STLP_NO_EXCEPTION_HEADER
 
 QMAKE_LFLAGS_APP        += --entry=_E32Startup -u _E32Startup
-QMAKE_LFLAGS_SHLIB      += --default-symver --entry _E32Dll
+QMAKE_LFLAGS_SHLIB      += --default-symver --entry=_E32Dll -u _E32Dll
 QMAKE_LFLAGS_PLUGIN     += $$QMAKE_LFLAGS_SHLIB
 
 gcceExtraFlags = --include=${EPOCROOT}/epoc32/include/gcce/gcce.h -march=armv5t -mapcs -mthumb-interwork -nostdinc -c -msoft-float -T script
-- 
cgit v0.12