diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2017-08-14 07:07:05 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-08-14 10:17:15 -0700 |
commit | d0469d52ed729e9be2059ea7c596495c98c175dc (patch) | |
tree | 139853b2763cfbbb627204bba32f56119c6fcc75 | |
parent | c2abb9a946e7a847fcc2d953c9af9cf228871053 (diff) | |
download | efl-d0469d52ed729e9be2059ea7c596495c98c175dc.tar.gz |
build: don't pass -fPIC on Windows
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r-- | configure.ac | 6 |
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]) LT_INIT([win32-dll disable-static pic-only]) EFL_INIT -CXXFLAGS="${CXXFLAGS} -fPIC -DPIC" -LDFLAGS="${LDFLAGS} -fPIC -DPIC" +if ! test "x${have_win32}" = "xyes" ; then + CXXFLAGS="${CXXFLAGS} -fPIC -DPIC" + LDFLAGS="${LDFLAGS} -fPIC -DPIC" +fi ### gettext |