From 98d5a7daf73d72c2e2acd9fbda6b9bfb4f50d49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Hohnst=C3=A4dt?= Date: Thu, 6 May 2021 08:12:08 +0200 Subject: [PATCH] Close #247: improve Apple silicon (M1) compatibility Put $(brew --prefix)/include and $(brew --prefix)/lib at the end of the list to allow the specific openssl/qt includes and libs to take precedence. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 74881b97..b3853b5c 100644 --- a/configure.ac +++ b/configure.ac @@ -275,8 +275,8 @@ AC_CHECK_HEADER(ltdl.h, , [ # Finally collect the compiler flags ##################################### -CXXFLAGS="${CXXFLAGS} ${OPENSSL_CFLAGS} ${QT_CFLAGS}" -LIBS="${LIBS} ${OPENSSL_LIBS} ${QT_LIBS} -lstdc++" +CXXFLAGS="${OPENSSL_CFLAGS} ${QT_CFLAGS} ${CXXFLAGS}" +LIBS="${OPENSSL_LIBS} ${QT_LIBS} -lstdc++ ${LIBS}" # Just give it a try ..... ##########################