From e6c04ef0287a69c453f129778ef35932e0dff4b2 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 21 Jan 2018 23:00:36 +0000 Subject: [PATCH] Use self-built portaudio instead of system-provided. --- other/bootstrap_daemon/BUILD | 2 +- testing/BUILD | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/other/bootstrap_daemon/BUILD b/other/bootstrap_daemon/BUILD index d4a6bd2e..631a473e 100644 --- a/other/bootstrap_daemon/BUILD +++ b/other/bootstrap_daemon/BUILD @@ -4,9 +4,9 @@ cc_binary( "src/*.c", "src/*.h", ]), - linkopts = ["-lconfig"], deps = [ "//c-toxcore/other:bootstrap_node_packets", "//c-toxcore/toxcore", + "@libconfig", ], ) diff --git a/testing/BUILD b/testing/BUILD index 2a5c2896..cee2e6eb 100644 --- a/testing/BUILD +++ b/testing/BUILD @@ -30,7 +30,6 @@ cc_binary( name = "av_test", srcs = ["av_test.c"], linkopts = [ - "-lportaudio", "-lopencv_highgui", "-lopencv_core", ], @@ -38,6 +37,8 @@ cc_binary( "//c-toxcore/toxav", "//c-toxcore/toxav:monolith", "//c-toxcore/toxcore", + "@portaudio", + "@sndfile", ], )