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

[libpq] link libdl on linux #11223

Merged
merged 1 commit into from
May 8, 2020
Merged

Conversation

mcgoo
Copy link
Contributor

@mcgoo mcgoo commented May 7, 2020

Describe the pull request
This adds -dl to the link line on systems that have libdl. Linking to libpq on Ubuntu Focal fails to find dlopen and friends without it. (I copied the method to do this from the openssl-unix port.)

  • What does your PR fix? Fixes issue #
    I did not create an issue. I did not find any open issues.

  • Which triplets are supported/not supported? Have you updated the CI baseline?
    This should not change triplet support if working correctly. The libpq port was already building on Linux and still is. CI baseline already expects it to build.

  • Does your PR follow the maintainer guide?
    Yes.

@msftclas
Copy link

msftclas commented May 7, 2020

CLA assistant check
All CLA requirements met.

@LilyWangL LilyWangL changed the title link libdl on linux [libpq] link libdl on linux May 8, 2020
@LilyWangL LilyWangL self-requested a review May 8, 2020 02:02
@LilyWangL LilyWangL self-assigned this May 8, 2020
@LilyWangL LilyWangL added the info:reviewed Pull Request changes follow basic guidelines label May 8, 2020
@strega-nil
Copy link
Contributor

Alright, fair enough. Thanks @mcgoo :)

@strega-nil strega-nil merged commit de340a0 into microsoft:master May 8, 2020
@mcgoo mcgoo deleted the libpg-link-dl branch May 8, 2020 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants