Describe the bug
Meson dependency command does not find xcode-installed or user installed c libraries on mac os. In this example, it does not find the libedit library which is installed by Xcode. I believe the issue is that the path being searched is the Frameworks directory rather than the usr, i.e. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr. libedit.tbd is located in usr/lib in that directory.
Describe the bug Meson
dependency
command does not find xcode-installed or user installed c libraries on mac os. In this example, it does not find the libedit library which is installed by Xcode. I believe the issue is that the path being searched is theFrameworks
directory rather than theusr
, i.e./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr
.libedit.tbd
is located inusr/lib
in that directory.To Reproduce meson.build.txt
Expected behavior I expect the dependency to be found given that it is able to correctly check that
-ledit
link_argument.system parameters