Эх сурвалжийг харах

Makefile: libraries belong to LDLIBS, not LDFLAGS.

Fixes build under Cygwin (and possibly others).
Kosma Moczek 11 жил өмнө
parent
commit
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."""