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.
This commit is contained in:
Christian Hohnstädt 2021-05-06 08:12:08 +02:00
parent 0f98d17f3a
commit 98d5a7daf7

View File

@ -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 .....
##########################