{"id":810256,"url":"http://patchwork.ozlabs.org/api/1.2/patches/810256/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/87aa32f0dbacc3252ade43fc605e7f2c310e6465.1504638326.git.baruch@tkos.co.il/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<87aa32f0dbacc3252ade43fc605e7f2c310e6465.1504638326.git.baruch@tkos.co.il>","list_archive_url":null,"date":"2017-09-05T19:05:25","name":"[1/2] shairport-sync: fix static link with mbedtls","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"0f0c52f4c60c87ec90e89e9bf39a4e23a3e4da9e","submitter":{"id":1458,"url":"http://patchwork.ozlabs.org/api/1.2/people/1458/?format=json","name":"Baruch Siach","email":"baruch@tkos.co.il"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/87aa32f0dbacc3252ade43fc605e7f2c310e6465.1504638326.git.baruch@tkos.co.il/mbox/","series":[{"id":1633,"url":"http://patchwork.ozlabs.org/api/1.2/series/1633/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1633","date":"2017-09-05T19:05:25","name":"[1/2] shairport-sync: fix static link with mbedtls","version":1,"mbox":"http://patchwork.ozlabs.org/series/1633/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810256/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810256/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmx4p4QZqz9sR9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 05:05:45 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id F1A6C86955;\n\tTue,  5 Sep 2017 19:05:43 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id nRkIMyV-qYCB; Tue,  5 Sep 2017 19:05:43 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id EF63986DAB;\n\tTue,  5 Sep 2017 19:05:42 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4E4BC1CEAF2\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 19:05:41 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4730A8787C\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 19:05:41 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OddnickSKqT9 for <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 19:05:39 +0000 (UTC)","from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 0B09A8770C\n\tfor <buildroot@busybox.net>; Tue,  5 Sep 2017 19:05:38 +0000 (UTC)","from tarshish.tkos.co.il (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPSA id 834544407B2;\n\tTue,  5 Sep 2017 22:05:17 +0300 (IDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Baruch Siach <baruch@tkos.co.il>","To":"buildroot@busybox.net","Date":"Tue,  5 Sep 2017 22:05:25 +0300","Message-Id":"<87aa32f0dbacc3252ade43fc605e7f2c310e6465.1504638326.git.baruch@tkos.co.il>","X-Mailer":"git-send-email 2.14.1","MIME-Version":"1.0","Subject":"[Buildroot] [PATCH 1/2] shairport-sync: fix static link with mbedtls","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"mbedtls provided libraries are interdependent. libmbedtls depends on\nlibmbedx509. Both depend on libmbedcrypto. When compression is enabled\nlibz is also needed.\n\nFixes:\nhttp://autobuild.buildroot.net/results/79d/79d9aff5edb6a767c38efb54256a4f20fc36a6ee/\n\nCc: Jörg Krause <joerg.krause@embedded.rocks>\nSigned-off-by: Baruch Siach <baruch@tkos.co.il>\n---\n package/shairport-sync/shairport-sync.mk | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/package/shairport-sync/shairport-sync.mk b/package/shairport-sync/shairport-sync.mk\nindex 208a9b3b1e33..75e1ae85e3d2 100644\n--- a/package/shairport-sync/shairport-sync.mk\n+++ b/package/shairport-sync/shairport-sync.mk\n@@ -19,6 +19,8 @@ SHAIRPORT_SYNC_CONF_OPTS = --with-alsa \\\n \t--with-pipe \\\n \t--with-stdout\n \n+SHAIRPORT_SYNC_CONF_ENV += LIBS=\"$(SHAIRPORT_SYNC_CONF_LIBS)\"\n+\n # Avahi or tinysvcmdns (shaiport-sync bundles its own version of tinysvcmdns).\n # Avahi support needs libavahi-client, which is built by avahi if avahi-daemon\n # and dbus is selected. Since there is no BR2_PACKAGE_LIBAVAHI_CLIENT config\n@@ -38,6 +40,10 @@ SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=openssl\n else\n SHAIRPORT_SYNC_DEPENDENCIES += mbedtls\n SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=mbedtls\n+SHAIRPORT_SYNC_CONF_LIBS += -lmbedx509 -lmbedcrypto\n+ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y)\n+SHAIRPORT_SYNC_CONF_LIBS += -lz\n+endif\n endif\n \n ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR),y)\n","prefixes":["1/2"]}