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

18 lines
820 B
Plaintext

$OpenBSD: patch-clients_Makefile_in,v 1.17 2012/08/09 12:05:16 sthen Exp $
--- clients/Makefile.in.orig Wed Aug 8 20:35:50 2012
+++ clients/Makefile.in Thu Aug 9 01:35:52 2012
@@ -391,10 +391,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.