summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2017-08-14 07:07:05 +0200
committerCedric BAIL <cedric@osg.samsung.com>2017-08-14 10:17:15 -0700
commitd0469d52ed729e9be2059ea7c596495c98c175dc (patch)
tree139853b2763cfbbb627204bba32f56119c6fcc75
parentc2abb9a946e7a847fcc2d953c9af9cf228871053 (diff)
build: don't pass -fPIC on Windows
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d1945db2aa..830e3620a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,8 +285,10 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
285LT_INIT([win32-dll disable-static pic-only]) 285LT_INIT([win32-dll disable-static pic-only])
286EFL_INIT 286EFL_INIT
287 287
288CXXFLAGS="${CXXFLAGS} -fPIC -DPIC" 288if ! test "x${have_win32}" = "xyes" ; then
289LDFLAGS="${LDFLAGS} -fPIC -DPIC" 289 CXXFLAGS="${CXXFLAGS} -fPIC -DPIC"
290 LDFLAGS="${LDFLAGS} -fPIC -DPIC"
291fi
290 292
291### gettext 293### gettext
292 294