Boost logo

Boost-Build :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-03-01 23:06:03


At least on linux, dlopen and friends require "-ldl" for proper linking.
However, this causes problems on windows, where LoadLibrary apparantly
is linked without having to specify a library. How can I modify this
part of the Jamfile so it works right on all platforms?

run dll_test.cpp <lib>../../test/build/boost_unit_test_framework
: # ARGS
: # INPUT FILES
<dll>tidll
: # REQUIREMENTS
<linkflags>"-ldl"
: # TEST NAME
dll_test
: # DEFAULT BUILDS
debug
;

Thanks!

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk