diff options
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/local.mk | 2 | ||||
-rw-r--r-- | src/libmain/nix-main.pc.in | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/libmain/local.mk b/src/libmain/local.mk index 71a07d197..4b6a4767e 100644 --- a/src/libmain/local.mk +++ b/src/libmain/local.mk @@ -9,3 +9,5 @@ libmain_SOURCES := $(wildcard $(d)/*.cc) libmain_LIBS = libstore libutil libformat libmain_ALLOW_UNDEFINED = 1 + +$(eval $(call install-file-in, $(d)/nix-main.pc, $(libdir)/pkgconfig, 0644)) diff --git a/src/libmain/nix-main.pc.in b/src/libmain/nix-main.pc.in new file mode 100644 index 000000000..de1bdf706 --- /dev/null +++ b/src/libmain/nix-main.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Nix +Description: Nix Package Manager +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lnixmain +Cflags: -I${includedir}/nix |