about summary refs log tree commit diff
path: root/src/libmain/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/local.mk')
-rw-r--r--src/libmain/local.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libmain/local.mk b/src/libmain/local.mk
new file mode 100644
index 000000000000..f1fd3eb72424
--- /dev/null
+++ b/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 libformat
+
+libmain_ALLOW_UNDEFINED = 1
+
+$(eval $(call install-file-in, $(d)/nix-main.pc, $(prefix)/lib/pkgconfig, 0644))