- fix: include correct ltdl.h for system & convenience libltdl
This commit is contained in:
parent
2f562a6138
commit
878bcdff8b
@ -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
|
||||
|
||||
@ -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`\""
|
||||
|
||||
#
|
||||
|
||||
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user