diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local.mk | 2 | ||||
-rw-r--r-- | src/libstore/nix-store.pc.in | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 180088d3df8c..024d7dec7275 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -30,3 +30,5 @@ $(d)/local-store.cc: $(d)/schema.sql.hh $(trace-gen) sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1) clean-files += $(d)/schema.sql.hh + +$(eval $(call install-file-in, $(d)/nix-store.pc, $(libdir)/pkgconfig, 0644)) diff --git a/src/libstore/nix-store.pc.in b/src/libstore/nix-store.pc.in new file mode 100644 index 000000000000..3f1a2d83d2f2 --- /dev/null +++ b/src/libstore/nix-store.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Nix +Description: Nix Package Manager +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lnixstore -lnixutil -lnixformat +Cflags: -I${includedir}/nix |