summaryrefslogtreecommitdiffstats
path: root/graphics/mozjpeg/README
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mozjpeg/README')
-rw-r--r--graphics/mozjpeg/README9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index 7853d2ec80..00b151318f 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -28,8 +28,13 @@ export PATH=/opt/mozjpeg/bin:$PATH
export MANPATH=/opt/mozjpeg/man:$MANPATH
To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
-and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or else
--Wl,-rpath,/opt/mozjpeg/lib (or lib64).
+and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
+else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
+there's also pkg-config support for mozjpeg. In ~/.bash_profile:
+
+export PKG_CONFIG_PATH=/opt/mozjpeg/lib64/pkgconfig:$PKG_CONFIG_PATH
+
+(chage lib64 to lib, for 32-bit Slackware)
If you built with JAVA=yes, the java library will be installed
as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in