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

Do use CMAKE_DL_LIBS to determine the linkerflags needed to link against libdl #231

Merged
merged 1 commit into from Jun 24, 2015
Merged

Conversation

coldtobi
Copy link

(on kfreebsd I get a linker error, it seems that cmake provides this variable already:
http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_DL_LIBS.html)

and

  • For !WINDOWS, add sys_defines based on compiler instead based on system. (enabled compilation e.g on hurd and kfreebsd)

I wonder if generally this should be split in two sections: One defining the compiler dependent flags and one defining the architecture dependent ones?

tobi

…ainst libdl.

- For !WINDOWS, add sys_defines based on compiler instead based on system. (enabled compilation e.g on hurd and kfreebsd)
RobertBeckebans added a commit that referenced this pull request Jun 24, 2015
Do use CMAKE_DL_LIBS to determine the linkerflags needed to link against libdl
@RobertBeckebans RobertBeckebans merged commit 8a8deb6 into RobertBeckebans:master Jun 24, 2015
@coldtobi coldtobi deleted the use_cmake_dl_libs branch June 24, 2015 16:57
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.

None yet

2 participants