Explorar el Código

Fix building with --enable-debug flag

Serj Kalichev hace 4 años
padre
commit
fcc996d947
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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