diff options
author | Guillem Jover <guillem@hadrons.org> | 2019-07-20 04:14:37 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-12 21:31:59 +0700 |
commit | 50a8bc57ffb7ddcfbdd4ce77e1da297e0bd03cb6 (patch) | |
tree | aa35c1ecc11eaf63ed6202123cb1eb5c2f7f7825 | |
parent | 542311e511e6e32bfde74d705a3c1355a548aba2 (diff) | |
download | attr-50a8bc57ffb7ddcfbdd4ce77e1da297e0bd03cb6.tar.gz |
build: Use LDLIBS instead of LDFLAGS for libraries
Otherwise gcc will fail to link the program due to missing
attr_copy_file() symbol.
-rw-r--r-- | examples/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |