openbsd-ports/sysutils/nut/patches/patch-clients_Makefile_in

18 lines
820 B
Plaintext
Raw Normal View History

$OpenBSD: patch-clients_Makefile_in,v 1.15 2012/01/11 16:01:33 sthen Exp $
--- clients/Makefile.in.orig Tue Jan 3 13:36:07 2012
+++ clients/Makefile.in Wed Jan 11 15:13:10 2012
@@ -381,10 +381,12 @@ upsmon_SOURCES = upsmon.c upsmon.h upsclient.h
upssched_SOURCES = upssched.c upssched.h
upssched_LDADD = ../common/libcommon.la ../common/libparseconf.la $(NETLIBS)
upsimage_cgi_SOURCES = upsimage.c upsclient.h upsimagearg.h cgilib.c cgilib.h
-upsimage_cgi_LDADD = $(LDADD) $(LIBGD_LDFLAGS)
+upsimage_cgi_LDADD = $(LDADD) $(LIBGD_LDFLAGS) -all-static
upsset_cgi_SOURCES = upsset.c upsclient.h cgilib.c cgilib.h
+upsset_cgi_LDADD = $(LDADD) -all-static
upsstats_cgi_SOURCES = upsstats.c upsclient.h status.h upsstats.h \
upsimagearg.h cgilib.c cgilib.h
+upsstats_cgi_LDADD = $(LDADD) -all-static
# not LDADD.