Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[msbuild/dotnet] Handle dylibs that don't start with 'lib' better. Fixes #15044. #18496

Merged
merged 1 commit into from
Jun 27, 2023

Commits on Jun 23, 2023

  1. [msbuild/dotnet] Handle dylibs that don't start with 'lib' better. Fixes

     xamarin#15044.
    
    For a given dylib named '/path/to/libMyLibrary.dylib', we pass this to the native linker:
    
        -L/path/to -lMyLibrary
    
    however, that doesn't work unless the dylib's name starts with 'lib'.
    
    So detect this, and if the dylib doesn't start with 'lib' (say it's just
    'MyLibrary.dylib'), then just pass the path to the dylib as-is to the native
    linker:
    
    	/path/to/MyLibrary.dylib
    
    Fixes xamarin#15044.
    rolfbjarne committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    df061dd View commit details
    Browse the repository at this point in the history