From e841a0437802ac3073dc7e8108b88a29438025de Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Tue, 21 Apr 2020 12:16:38 +0800
Subject: [PATCH] Install pc file to libdir

---
 Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index e6e6341..e67cbef 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -41,9 +41,9 @@ clean:
 	rm -f libjsonparser.$(SO_EXT) libjsonparser.a json.o
 
 install-shared: libjsonparser.$(SO_EXT)
-	@echo Installing pkgconfig module: $(datadir)/pkgconfig/json-parser.pc
-	@install -d $(datadir)/pkgconfig/ || true
-	@install -m 0644 json-parser.pc $(datadir)/pkgconfig/json-parser.pc
+	@echo Installing pkgconfig module: $(libdir)/pkgconfig/json-parser.pc
+	@install -d $(libdir)/pkgconfig/ || true
+	@install -m 0644 json-parser.pc $(libdir)/pkgconfig/json-parser.pc
 	@echo Installing shared library: $(libdir)/libjsonparser.$(SO_EXT)
 	@install -d $(libdir) || true
 	@install -m 0755 libjsonparser.$(SO_EXT) $(libdir)/$(REAL_NAME)
-- 
2.26.1

