forked from lix-project/lix
eda0fee160
Don't overwrite user provided `lib*_LDFLAGS`
16 lines
381 B
Makefile
16 lines
381 B
Makefile
libraries += libcmd
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
|
|
|
|
libcmd_LDFLAGS += -llowdown -pthread
|
|
|
|
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
|
|
|
|
$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))
|