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
This commit is contained in:
DRC
2010-01-28 22:18:41 +00:00
parent 0c0f304e8d
commit a1e9878b31

View File

@@ -1,15 +1,16 @@
if WITH_SHARED if WITH_SHARED
lib_LTLIBRARIES = libjpeg.la 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 else
noinst_LTLIBRARIES = libjpeg.la noinst_LTLIBRARIES = libjpeg.la
noinst_HEADERS = jconfig.h jerror.h jmorecfg.h jpeglib.h
endif 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 \ 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 jpegint.h jpeglib.h jversion.h jsimd.h jsimddct.h turbojpeg.h