about summary refs log tree commit diff
path: root/third_party/nix/src/libmain/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libmain/local.mk')
-rw-r--r--third_party/nix/src/libmain/local.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/nix/src/libmain/local.mk b/third_party/nix/src/libmain/local.mk
new file mode 100644
index 000000000000..0c80f5a0a037
--- /dev/null
+++ b/third_party/nix/src/libmain/local.mk
@@ -0,0 +1,15 @@
+libraries += libmain
+
+libmain_NAME = libnixmain
+
+libmain_DIR := $(d)
+
+libmain_SOURCES := $(wildcard $(d)/*.cc)
+
+libmain_LDFLAGS = $(OPENSSL_LIBS)
+
+libmain_LIBS = libstore libutil
+
+libmain_ALLOW_UNDEFINED = 1
+
+$(eval $(call install-file-in, $(d)/nix-main.pc, $(prefix)/lib/pkgconfig, 0644))