Blame SOURCES/redhat-bugzilla-1950263.patch

259476
commit 6528e1b09ad948a8bf82e03ad2f10c1a296078af
259476
Author: Nathan Scott <nathans@redhat.com>
259476
Date:   Tue Apr 20 11:02:26 2021 +1000
259476
259476
    qa: specify PCP libraries only on libpcp_web link lines
259476
    
259476
    Tweaks the changes from commit c9bd0cc4e9b so that testsuite
259476
    sources linking with libpcp_web don't pull in 3rd party libs
259476
    (which may not be installed) like uv, ssl, crypto.
259476
    
259476
    Resolves Red Hat BZ #1950263
259476
259476
diff --git a/qa/src/GNUlocaldefs b/qa/src/GNUlocaldefs
259476
index 3b5873c25..13fc09831 100644
259476
--- a/qa/src/GNUlocaldefs
259476
+++ b/qa/src/GNUlocaldefs
259476
@@ -538,13 +538,13 @@ check_pmiend_fdleak:	check_pmiend_fdleak.c
259476
 
259476
 httpfetch:	httpfetch.c
259476
 	rm -f $@
259476
-	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) $(PCP_WEBLIB)
259476
+	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) -lpcp_pmda -lpcp_web -lpcp_mmv
259476
 json_test:	json_test.c
259476
 	rm -f $@
259476
-	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) $(PCP_WEBLIB)
259476
+	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) -lpcp_pmda -lpcp_web -lpcp_mmv
259476
 sha1int2ext:	sha1int2ext.o
259476
 	rm -f $@
259476
-	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) $(PCP_WEBLIB)
259476
+	$(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) -lpcp_pmda -lpcp_web -lpcp_mmv
259476
 
259476
 # --- need libpcp_fault
259476
 #