summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-01-28 22:18:41 +0000
committerDRC <dcommander@users.sourceforge.net>2010-01-28 22:18:41 +0000
commitf737fbe73fd51c0146822a2bd7a43a6bfce96218 (patch)
tree13a9404960580b6dc65952c9141bc99cf26d2507
parentd4611464b70f0fa9798334b60b9d7b798076600f (diff)
downloadtigervnc-f737fbe73fd51c0146822a2bd7a43a6bfce96218.tar.gz
tigervnc-f737fbe73fd51c0146822a2bd7a43a6bfce96218.zip
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://svn.code.sf.net/p/tigervnc/code/trunk@3959 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--common/jpeg/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/jpeg/Makefile.am b/common/jpeg/Makefile.am
index bafa3d49..53e6a434 100644
--- a/common/jpeg/Makefile.am
+++ b/common/jpeg/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