qt5base-lts/mkspecs
Tor Arne Vestbø cdf64b0e47 qmake: Don't error out if QMAKE_DEFAULT_LIBDIRS is empty on macOS
The new linker in Xcode 15 doesn't provide any default linker or
framework paths when requested via -v, but still seems to use the
default paths documented in the ld man page.

We trust that linker will do the right thing, even if we don't
know of its default linker paths.

We also need to opt out of the default fallback logic to
set the libdirs to /lib and /usr/lib.

This may result in UnixMakefileGenerator::findLibraries finding
different libraries than expected, if additional paths are
passed with -L, which will then take precedence for qmake,
even if the linker itself will use the library from the
SDK's default paths. This should hopefully not be an issue
in practice, as we don't turn -lFoo into absolute paths in
qmake, so the only risk is that we're picking up the wrong
prl files and adding additional dependencies that the lib
in the SDK doesn't have.

Pick-to: 6.6 6.6.0
Change-Id: I2347b26e2df0828471373b0e15b8c9089274c65d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-09-13 16:22:03 +00:00
..
aix-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
aix-g++-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
android-clang Change android target SDK version to 31 2023-03-21 14:49:08 +01:00
common undef READ and WRITE on VxWorks 2023-08-31 22:30:35 +00:00
cygwin-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
darwin-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
devices Suppress warnings from Integrity builds 2023-01-09 10:34:33 +02:00
dummy move all target spec handling to qmake-based configure system 2016-12-13 18:56:34 +00:00
features qmake: Don't error out if QMAKE_DEFAULT_LIBDIRS is empty on macOS 2023-09-13 16:22:03 +00:00
freebsd-clang Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
freebsd-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
haiku-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
hpuxi-g++-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
hurd-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity-armv7 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity-armv7-imx6 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity-armv8-rcar Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity-x86 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-aarch64-gnu-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-arm-gnueabi-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-clang Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-clang-32 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-clang-libc++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-clang-libc++-32 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-g++-32 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-g++-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-icc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-icc-32 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-icc-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-icc-k1om Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-llvm Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
linux-lsb-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
lynxos-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macx-clang Apple: Add CFBundleAllowMixedLocalizations=YES to Info.plist files 2022-10-25 10:06:59 +00:00
macx-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macx-icc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macx-ios-clang Apple: Add CFBundleAllowMixedLocalizations=YES to Info.plist files 2022-10-25 10:06:59 +00:00
macx-xcode Apple: Add CFBundleAllowMixedLocalizations=YES to Info.plist files 2022-10-25 10:06:59 +00:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
openbsd-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnx-aarch64le-qcc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnx-armle-v7-qcc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnx-x86-64-qcc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnx-x86-qcc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-cc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-cc-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-cc-64-stlport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-cc-stlport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
solaris-g++-64 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
unsupported Apple: Add CFBundleAllowMixedLocalizations=YES to Info.plist files 2022-10-25 10:06:59 +00:00
vxworks-clang Add initial support for building for VxWorks using clang 2023-07-21 06:08:04 +02:00
wasm-emscripten wasm: add support for wasm64 build 2022-12-07 08:30:46 +10:00
wasm-emscripten-64 wasm: add support for wasm64 build 2022-12-07 08:30:46 +10:00
win32-arm64-msvc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-clang-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-clang-msvc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-g++ Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-icc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-icc-k1om Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32-msvc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00