[LyX/2.3.x] Pass Qt library location as link option for frameworks on Mac

Stephan Witt switt at lyx.org
Thu Dec 15 20:51:13 UTC 2022


commit 95bd9e5b45842e540ab76ed11c682b1696d68602
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
    
    (cherry picked from commit c518c57a78f3d240ed59deb81febe7800cca2d70)
---
 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 ddaf75b..cf4124e 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