Handle libdl only being needed on Linux for dlopen #781

wants to merge 2 commits into

2 participants


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.
@abs0 abs0 needing -ldl for dlopen is primarily a linuxism, so only force the
check for -ldl on host_os linux.

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