[Gc] link libgc.so against libdl (patch)

Rex Dieter rdieter at math.unl.edu
Thu Mar 16 06:28:30 PST 2006


Per:
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/recent_changes
in todo section:
  - A dynamic libgc.so references dlopen unconditionally, but doesn't 
link against libdl.

Here's a patch to fix that.  Feel free to omit the '-Wl,--no-undefined' 
bits, as that is probably(?) not portable and is limited to supporting 
gnu ld.

-- 
Rex A. Dieter			rdieter at math.unl.edu
Computer System Administrator 	http://www.math.unl.edu/~rdieter/
Department of Mathematics  	University of Nebraska Lincoln


More information about the Gc mailing list