- fix: include correct ltdl.h for system & convenience libltdl

This commit is contained in:
Thomas Ries 2010-06-19 20:39:11 +00:00
parent 2f562a6138
commit 878bcdff8b
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,6 @@
0.8.1
=====
19-Jun-2010: - fix: include correct ltdl.h for system & convenience libltdl
26-Apr-2010: - Clean building from distribuion TAR did fail if the host
installed libltdl lib was used (and not the convenience lib)
29-Mar-2010: - fix: siproxd could crash when trying to rewrite a malformed

View File

@ -19,7 +19,11 @@
#
AM_CFLAGS = -Wall -D_GNU_SOURCE \
if use_convenience_ltdl
LTDLDEF = -DLTDL_CONVLIB
endif
AM_CFLAGS = -Wall -D_GNU_SOURCE $(LTDLDEF) \
-DBUILDSTR="\"`cat .buildno`\""
#

View File

@ -20,8 +20,13 @@
/* $Id$ */
/* fetch local version of ltdl */
#include "../libltdl/ltdl.h"
#ifdef LTDL_CONVLIB
/* fetch local version of ltdl */
#include "../libltdl/ltdl.h"
#else
/* fetch system version of libltdl */
#include <ltdl.h>
#endif
/* Plugins must return STS_SUCCESS / SUCCESS_FAILURE */