Handle libdl only being needed on Linux for dlopen #781

Closed
wants to merge 2 commits into
from

2 participants

@abs0

Should not change the behaviour of existing Linux, Apple or Windows targets

abs0 added some commits Mar 18, 2012
@abs0 abs0 Not all systems require -ldl to pick up dlopen. Iff checking in
libdl fails, try libc. This should ensure behaviour does not change
for case that previously worked.
7810668
@abs0 abs0 needing -ldl for dlopen is primarily a linuxism, so only force the
check for -ldl on host_os linux.
c2d8827
@davilla

manual merged in fc27b6bd1c21d5e9a10cac5f1a043389c8c879be as it needed fixes for cross-compile.

@davilla davilla closed this Apr 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment