]> git.lyx.org Git - features.git/commitdiff
Pass Qt library location as link option for frameworks on Mac
authorStephan Witt <switt@lyx.org>
Sun, 30 May 2021 15:30:08 +0000 (17:30 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 30 May 2021 15:31:32 +0000 (17:31 +0200)
development/LyX-Mac-binary-release.sh

index 1a48a0d03691edcca0dd91eb43e9bffe86cd5217..2399394ed88cd0cf0f3c27202df855a95f8228cf 100644 (file)
@@ -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"