commit | 8319a3961ab1e7c8d58a4874f55f1986f2615a39 | [log] [tgz] |
---|---|---|
author | Ralph Giles <giles@ghostscript.com> | Wed Aug 26 09:44:16 2009 -0700 |
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | Wed Aug 26 09:44:16 2009 -0700 |
tree | 8c23d45b6a37a9c0e37634c748d29b0125910578 | |
parent | d978a7a421dfe2e7afede5e4b29a730f9005344d [diff] |
Build fix for linux (Fedora 11 on x86_64). The malloc_test unit uses dlsym with RTLD_NEXT to find the libc's malloc function and substitute if no replacement is linked in. However, this define is a GNU extension, and so the source must define _GNU_SOURCE before including dlfcn.h. The dlsym function and friends also require linking with -ldl on Linux.