projects
/
infodrom
/
cgilib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c1a8547
)
Add SONAME information
author
Joey Schulze
<joey@infodrom.org>
Sat, 7 Feb 2009 13:31:43 +0000
(13:31 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 7 Feb 2009 13:31:43 +0000
(13:31 +0000)
Makefile.am
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
14f3f7b
..
b203666
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-18,6
+18,7
@@
lib_LTLIBRARIES = libcgi.la
libcgi_la_SOURCES = cgi.c cookies.c aux.c
lib_LTLIBRARIES = libcgi.la
libcgi_la_SOURCES = cgi.c cookies.c aux.c
+libcgi_la_LDFLAGS = -version-info @SO_VERSION@
bin_PROGRAMS = cgitest jumpto
bin_PROGRAMS = cgitest jumpto
diff --git
a/configure.ac
b/configure.ac
index
672e7af
..
ee950ec
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,11
+2,14
@@
AC_INIT(cgi.c)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(cgilib, 0.6)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(cgilib, 0.6)
+SO_VERSION=0:0:0
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
+AC_SUBST(SO_VERSION)
+
AC_CHECK_FUNCS(strndup)
AC_OUTPUT(Makefile)
AC_CHECK_FUNCS(strndup)
AC_OUTPUT(Makefile)