~steef/snixembed

1803c381b2a34a14ed36e28f886e6f17e7e68ba9 — Steef Hegeman 2 years ago 6025cc7
makefile: respect LDFLAGS
1 files changed, 1 insertions(+), 1 deletions(-)

M makefile
M makefile => makefile +1 -1
@@ 8,7 8,7 @@ MANDIR ?= /share/man

PKG := $(foreach pkg, $(PKG), --pkg $(pkg))
CFLAGS := $(CFLAGS) $(shell pkg-config --cflags --libs $(CPKG))
VFLAGS := $(foreach flag, $(CFLAGS), -X $(flag)) $(VFLAGS)
VFLAGS := $(foreach flag, $(CFLAGS) $(LDFLAGS), -X $(flag)) $(VFLAGS)

snixembed: $(SRC)
	valac -o $@ $(VFLAGS) $(PKG) $(SRC)