openbsd-ports/net/gaim/patches/patch-plugins_ssl_Makefile_am
2004-01-18 00:11:21 +00:00

35 lines
997 B
Plaintext

$OpenBSD: patch-plugins_ssl_Makefile_am,v 1.1 2004/01/18 00:11:21 brad Exp $
--- plugins/ssl/Makefile.am.orig 2003-10-15 01:56:07.000000000 -0400
+++ plugins/ssl/Makefile.am 2004-01-17 14:45:46.000000000 -0500
@@ -4,6 +4,7 @@ EXTRA_DIST = \
plugindir = $(libdir)/gaim
ssl_la_LDFLAGS = -module -avoid-version
+ssl_openssl_la_LDFLAGS = -module -avoid-version
ssl_gnutls_la_LDFLAGS = -module -avoid-version
ssl_nss_la_LDFLAGS = -module -avoid-version
@@ -11,13 +12,16 @@ if PLUGINS
plugin_LTLIBRARIES = \
ssl.la \
+ ssl-openssl.la \
ssl-gnutls.la \
ssl-nss.la
ssl_la_SOURCES = ssl.c
+ssl_openssl_la_SOURCES = ssl-openssl.c
ssl_gnutls_la_SOURCES = ssl-gnutls.c
ssl_nss_la_SOURCES = ssl-nss.c
+ssl_openssl_la_LIBADD = $(OPENSSL_LIBS)
ssl_gnutls_la_LIBADD = $(GNUTLS_LIBS)
ssl_nss_la_LIBADD = $(NSS_LIBS)
@@ -31,4 +35,5 @@ AM_CPPFLAGS = \
$(GTK_CFLAGS) \
$(PLUGIN_CFLAGS) \
$(NSS_CFLAGS) \
+ $(OPENSSL_CFLAGS) \
$(GNUTLS_CFLAGS)