From c518c57a78f3d240ed59deb81febe7800cca2d70 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 30 May 2021 17:30:08 +0200 Subject: [PATCH] Pass Qt library location as link option for frameworks on Mac --- development/LyX-Mac-binary-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 1a48a0d036..2399394ed8 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -691,7 +691,7 @@ build_lyx() { mkdir -p "${LyxBuildDir}" && cd "${LyxBuildDir}" CPPFLAGS="${SDKROOT:+-isysroot ${SDKROOT}} -arch ${arch} ${MYCFLAGS}" - LDFLAGS="${SDKROOT:+-isysroot ${SDKROOT}} -arch ${arch} ${MYLDFLAGS}" + LDFLAGS="${SDKROOT:+-isysroot ${SDKROOT}} -arch ${arch} ${MYLDFLAGS} -F${QtInstallDir}/lib" if [ "$configure_qt_frameworks" = "yes" ]; then export QT_CORE_CFLAGS="-FQtCore"