Browse Source

Fix building with --enable-debug flag

Serj Kalichev 2 years ago
parent
commit
fcc996d947
1 changed files with 4 additions and 0 deletions
  1. 4 0
      faux/Makefile.am

+ 4 - 0
faux/Makefile.am

@@ -8,6 +8,10 @@ if HAVE_LD_VERSION_SCRIPT
 libfaux_la_LDFLAGS += -Wl,--version-script=faux/faux.map
 endif
 
+if DEBUG
+libfaux_la_CFLAGS += -DDEBUG
+endif
+
 if TESTC
 libfaux_la_CFLAGS += -DTESTC
 endif