From a1e9878b31cc2dad02543d3fd9f1a74d66de93ac Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 28 Jan 2010 22:18:41 +0000 Subject: [PATCH] Use the correct version to name the shared library, and if the shared library build is enabled, allow the headers to be installed git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@72 632fc199-4ca6-4c93-a231-07263d6284db --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index bafa3d49..53e6a434 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,16 @@ if WITH_SHARED lib_LTLIBRARIES = libjpeg.la +libjpeg_la_LDFLAGS = -version-number 62:0:0 -no-undefined +include_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h else noinst_LTLIBRARIES = libjpeg.la +noinst_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h endif -noinst_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h - HDRS = jchuff.h jdct.h jdhuff.h jerror.h jinclude.h jmemsys.h jmorecfg.h \ jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h turbojpeg.h