|
--- a/libmilter/Makefile.m4
|
|
+++ b/libmilter/Makefile.m4
|
|
@@ -9,7 +9,10 @@ define(`confMT', `true')
|
|
SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
|
|
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
|
|
|
|
-bldPRODUCT_START(`library', `libmilter')
|
|
+# obtain libmilter version
|
|
+define(`confSOVER', `esyscmd(`gcc -I../include -o lm_getver lm_getver.c && ./lm_getver')')
|
|
+
|
|
+bldPRODUCT_START(`sharedlibrary', `libmilter')
|
|
define(`bldINSTALLABLE', `true')
|
|
define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
|
|
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
|