diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-18 12:00:40 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-18 12:00:40 +0200 |
commit | 8be9990cdb1ce35e1138c9ed477ecfd93ca7f184 (patch) | |
tree | b460ade8a87c833db922c5ca34b98df8d9e60fb1 /src/libmain | |
parent | d64b8e9e53c1087ec611066cfa21261ee2164869 (diff) |
Install some pkgconfig files
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 |