Commit | Line | Data |
---|---|---|
1420868b OS |
1 | From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org> |
2 | Date: Wed, 16 Mar 2016 10:16:21 +0100 | |
3 | Subject: libcourierauth* libraries are normal shared libraries, | |
4 | treat them as such | |
5 | ||
6 | --- | |
7 | Makefile.am | 14 +++++++------- | |
8 | 1 file changed, 7 insertions(+), 7 deletions(-) | |
9 | ||
1420868b OS |
10 | --- a/Makefile.am |
11 | +++ b/Makefile.am | |
463a5c94 | 12 | @@ -18,9 +18,9 @@ |
1420868b OS |
13 | pkglibexecdir=$(libexecdir)/courier-authlib |
14 | pkglibexec_SCRIPTS=authsystem.passwd | |
15 | ||
463a5c94 MW |
16 | -pkglib_LTLIBRARIES=libcourierauth.la \ |
17 | - libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la \ | |
1420868b | 18 | - $(modules) |
463a5c94 MW |
19 | +lib_LTLIBRARIES=libcourierauth.la \ |
20 | + libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la | |
1420868b OS |
21 | +pkglib_LTLIBRARIES=$(modules) |
22 | sbin_SCRIPTS=authdaemond | |
23 | sbin_PROGRAMS=authtest authenumerate authpasswd | |
24 | bin_PROGRAMS=courierauthconfig | |
463a5c94 | 25 | @@ -63,7 +63,7 @@ |
1420868b OS |
26 | |
27 | libcourierauthcommon_la_DEPENDENCIES=libcourierauth.la | |
28 | libcourierauthcommon_la_LIBADD=libcourierauth.la | |
29 | -libcourierauthcommon_la_LDFLAGS=$(libcourierauthcommon_t:%=-Wl,%) -avoid-version | |
30 | +libcourierauthcommon_la_LDFLAGS=$(libcourierauthcommon_t:%=-Wl,%) -version 0:0:0 | |
31 | ||
32 | libcourierauth_la_SOURCES=authdaemon.c authdaemonlib.c preauthdaemon.c \ | |
33 | authmoduser2.c authmoduser3.c debug.c \ | |
463a5c94 | 34 | @@ -71,7 +71,7 @@ |
1420868b OS |
35 | authoption.c |
36 | libcourierauth_la_LIBADD=libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la libs/numlib/libnumlib.la \ | |
37 | libs/random128/librandom128.la libs/rfc822/libencode.la | |
38 | -libcourierauth_la_LDFLAGS=@NETLIBS@ -avoid-version | |
39 | +libcourierauth_la_LDFLAGS=@NETLIBS@ -version 0:0:0 | |
40 | ||
41 | # The userdb module | |
42 | ||
463a5c94 | 43 | @@ -318,7 +318,7 @@ |
1420868b OS |
44 | authsaslcram.c authsasllogin.c authsaslplain.c \ |
45 | authsaslfrombase64.c authsasltobase64.c | |
46 | libcourierauthsasl_la_LIBADD=libcourierauthcommon.la libcourierauth.la | |
47 | -libcourierauthsasl_la_LDFLAGS=-export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -avoid-version | |
48 | +libcourierauthsasl_la_LDFLAGS=-export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -version 0:0:0 | |
49 | ||
50 | libcourierauthsaslclient_la_SOURCES=courierauthsaslclient.h \ | |
51 | authsaslclient.c authsaslclient.h authsaslclientcram.c \ | |
463a5c94 | 52 | @@ -327,7 +327,7 @@ |
1420868b OS |
53 | authsaslclientexternal.c \ |
54 | authsaslfrombase64.c authsasltobase64.c | |
55 | libcourierauthsaslclient_la_LIBADD=libcourierauth.la | |
56 | -libcourierauthsaslclient_la_LDFLAGS=-export-symbols-regex '^auth_sasl_client$$' -avoid-version | |
57 | +libcourierauthsaslclient_la_LDFLAGS=-export-symbols-regex '^auth_sasl_client$$' -version 0:0:0 | |
58 | ||
59 | include_HEADERS=courier_auth_config.h courierauth.h courierauthsasl.h \ | |
60 | courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h |