Skip to content

find_library(DL_LIBRARY dl) is wrong - #124

Merged
fdabrandao merged 2 commits into
ampl:masterfrom
zhihaoy:cmake-fixes
Feb 8, 2019
Merged

find_library(DL_LIBRARY dl) is wrong#124
fdabrandao merged 2 commits into
ampl:masterfrom
zhihaoy:cmake-fixes

Conversation

@zhihaoy

@zhihaoy zhihaoy commented Feb 8, 2019

Copy link
Copy Markdown
Contributor

An example fix to the same issue: https://reviews.llvm.org/D43168

1. The library that provides dlopen and dlclose may just be libc.
2. It can cause issue on Windows.

See also:
https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html
@zhihaoy zhihaoy changed the title CMake fixes find_library(DL_LIBRARY dl) is wrong Feb 8, 2019
@fdabrandao
fdabrandao merged commit d305155 into ampl:master Feb 8, 2019
@fdabrandao

Copy link
Copy Markdown
Member

Merged. Thanks! BTW: We are hiring: https://ampl.com/about-us/position-available/

@zhihaoy

zhihaoy commented Feb 8, 2019

Copy link
Copy Markdown
Contributor Author

Competitive restrictions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants