blob: 0b058fbecc23df7a5076edc751c7330d25e62fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/Makefile b/Makefile
index 2666b3d..ba58cf1 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ ifeq ($(filter %clean %distclean, $(MAKECMDGOALS)), )
endif
$(PKGCONFIG): config.mk
- sed 's|PREFIX|$(PREFIX)|;s|VERSION|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG)
+ sed 's|PREFIX|$(PREFIX)|;s|VERSION|$(VERSION)|;s|LIBDIR|$(LIBDIR)|' < imagequant.pc.in > $(PKGCONFIG)
.PHONY: all static shared clean dist distclean dll java cargo
.DELETE_ON_ERROR:
diff --git a/imagequant.pc.in b/imagequant.pc.in
index 980da8c..6c6569d 100644
--- a/imagequant.pc.in
+++ b/imagequant.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
includedir=${prefix}/include
-libdir=${prefix}/lib
+libdir=LIBDIR
Name: imagequant
Description: Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.
|