瀏覽代碼

Fix building with --enable-debug flag

Serj Kalichev 4 年之前
父節點
當前提交
fcc996d947
共有 1 個文件被更改,包括 4 次插入0 次删除
  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