From 776f2eed7c58a9dd8f262260bb9df309eeb1796b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 27 Aug 2017 17:57:26 +0200 Subject: Extend Qt PIC dance to autoconf tests --- m4/libqt.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/libqt.m4 b/m4/libqt.m4 index c4e7118..f1e67ce 100644 --- a/m4/libqt.m4 +++ b/m4/libqt.m4 @@ -11,10 +11,10 @@ AC_LANG_SOURCE([ // See libodb-qt/odb/qt/details/config.hxx for more information on // what's going on here. // -# if defined(__ELF__) && !defined(__PIC__) && !defined(__PIE__) +# if defined(__ELF__) && !defined(__PIC__) # include // QT_REDUCE_RELOCATIONS # ifdef QT_REDUCE_RELOCATIONS -# define __PIE__ +# define __PIC__ # endif # endif #include -- cgit v1.1