48b1d0b465
from brad
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
$OpenBSD: patch-libpurple_plugins_ssl_Makefile_am,v 1.3 2008/12/27 20:48:00 steven Exp $
|
|
--- libpurple/plugins/ssl/Makefile.am.orig Sat Dec 20 19:38:16 2008
|
|
+++ libpurple/plugins/ssl/Makefile.am Mon Dec 22 00:09:09 2008
|
|
@@ -4,6 +4,7 @@ EXTRA_DIST = \
|
|
plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
|
|
|
|
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
|
|
|
|
@@ -13,6 +14,11 @@ if PLUGINS
|
|
# if USE_GNUTLS && USE_NSS
|
|
# but only support testing a single variable. Hence:
|
|
|
|
+if USE_OPENSSL
|
|
+plugin_LTLIBRARIES = \
|
|
+ ssl.la \
|
|
+ ssl-openssl.la
|
|
+else
|
|
if USE_GNUTLS
|
|
if USE_NSS
|
|
plugin_LTLIBRARIES = \
|
|
@@ -34,12 +40,15 @@ plugin_LTLIBRARIES = \
|
|
ssl.la
|
|
endif
|
|
endif
|
|
+endif
|
|
|
|
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_la_LIBADD = $(GLIB_LIBS)
|
|
+ssl_openssl_la_LIBADD = $(GLIB_LIBS) $(OPENSSL_LIBS)
|
|
ssl_gnutls_la_LIBADD = $(GLIB_LIBS) $(GNUTLS_LIBS)
|
|
ssl_nss_la_LIBADD = $(GLIB_LIBS) $(NSS_LIBS)
|
|
|
|
@@ -54,5 +63,6 @@ AM_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
$(PLUGIN_CFLAGS)
|
|
|
|
+ssl_openssl_la_CFLAGS = $(AM_CPPFLAGS) $(OPENSSL_CFLAGS)
|
|
ssl_gnutls_la_CFLAGS = $(AM_CPPFLAGS) $(GNUTLS_CFLAGS)
|
|
ssl_nss_la_CFLAGS = $(AM_CPPFLAGS) $(NSS_CFLAGS)
|