SOURCES: nut-as-needed.patch (NEW) - fix linking with openssl

baggins baggins at pld-linux.org
Tue Jun 3 17:49:33 CEST 2008


Author: baggins                      Date: Tue Jun  3 15:49:33 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix linking with openssl

---- Files affected:
SOURCES:
   nut-as-needed.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nut-as-needed.patch
diff -u /dev/null SOURCES/nut-as-needed.patch:1.1
--- /dev/null	Tue Jun  3 17:49:33 2008
+++ SOURCES/nut-as-needed.patch	Tue Jun  3 17:49:27 2008
@@ -0,0 +1,13 @@
+--- nut-2.2.2/clients/Makefile.am~	2008-06-03 15:10:49.000000000 +0200
++++ nut-2.2.2/clients/Makefile.am	2008-06-03 15:11:44.000000000 +0200
+@@ -48,6 +48,10 @@
+ libupsclient_la_SOURCES = upsclient.c upsclient.h
+ libupsclient_la_LIBADD = ../common/parseconf.lo
+ libupsclient_la_LDFLAGS = -version-info 1:0:0
++if WITH_SSL
++  libupsclient_la_LIBADD += $(LIBSSL_LDFLAGS)
++  libupsclient_la_CFLAGS = $(LIBSSL_CFLAGS)
++endif
+ 
+ # rules for cross-directory targets
+ ../common/libcommon.a: FORCE
================================================================


More information about the pld-cvs-commit mailing list