From 50a8bc57ffb7ddcfbdd4ce77e1da297e0bd03cb6 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 20 Jul 2019 04:14:37 +0200 Subject: build: Use LDLIBS instead of LDFLAGS for libraries Otherwise gcc will fail to link the program due to missing attr_copy_file() symbol. --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 8d6b5a3..aafe3be 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,5 +1,5 @@ CFLAGS = -g -Wall -I../include -LDFLAGS = -lattr +LDLIBS = -lattr PROGS = copyattr -- cgit v1.2.1