[LyX/master] Pass Qt library location as link option for frameworks on Mac

Stephan Witt switt at lyx.org
Sun May 30 15:19:33 UTC 2021


commit c518c57a78f3d240ed59deb81febe7800cca2d70
Author: Stephan Witt <switt at lyx.org>
Date:   Sun May 30 17:30:08 2021 +0200

    Pass Qt library location as link option for frameworks on Mac
---
 development/LyX-Mac-binary-release.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh
index 1a48a0d..2399394 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"


More information about the lyx-cvs mailing list