浏览代码

Makefile: libraries belong to LDLIBS, not LDFLAGS.

Fixes build under Cygwin (and possibly others).
Kosma Moczek 11 年之前
父节点
当前提交
181565066a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -5,7 +5,7 @@
 # published by Sam Hocevar. See the COPYING file for more details.
 
 CFLAGS = -g -Wall -Wextra -Werror -std=c99
-LDFLAGS = -lcheck
+LDLIBS = -lcheck
 
 all: scan-build test example
 	@echo "+++ All good."""