#29 Check for libdl

closed-accepted
None
5
2013-03-02
2013-01-21
No

On OpenBSD, dlopen() and friends are provided within libc and there is no libdl. So instead of linking libdl unconditionally, check for presence of dlopen in libdl and only if present link against it. The patch has been tested on OpenBSD-5.2-current and Debian/wheezy.

I believe NetBSD doesn't provide libdl as well according to their documentation, so the patch could help there as well. FreeBSD might provide libdl for compatibility, so this patch shouldn't hurt.

The patch is against trunk revision 2189.

Discussion

  • Ralf Horstmann

    Ralf Horstmann - 2013-01-21
     
  • Roy Rankin

    Roy Rankin - 2013-03-02

    Patch added to SVN

     
  • Roy Rankin

    Roy Rankin - 2013-03-02
    • assigned_to: nobody --> roy_r_rankin
    • status: open --> closed-accepted
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks