- fix: include correct ltdl.h for system & convenience libltdl
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user