Always define -DWITH_DEBUG if compiling WITH_DEBUG.
This commit is contained in:
parent
cc50ebc4df
commit
2ac6527164
1 changed files with 2 additions and 1 deletions
|
@ -19,11 +19,12 @@ libfreefare_la_SOURCES = freefare.c \
|
|||
libfreefare_la_LIBADD =
|
||||
|
||||
if WITH_DEBUG
|
||||
AM_CFLAGS += -DWITH_DEBUG
|
||||
if HAS_LIBUTIL
|
||||
libfreefare_la_LIBADD += -lutil
|
||||
else # HAS_LIBUTIL
|
||||
libfreefare_la_LIBADD += $(top_builddir)/contrib/libutil/libutil.la
|
||||
AM_CFLAGS += -I$(top_builddir)/contrib/libutil/ -DWITH_DEBUG
|
||||
AM_CFLAGS += -I$(top_builddir)/contrib/libutil/
|
||||
endif # !HAS_LIBUTIL
|
||||
endif # WITH_DEBUG
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue