From patchwork Mon Apr 26 21:44:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reto Schneider X-Patchwork-Id: 1470489 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::437; helo=mail-wr1-x437.google.com; envelope-from=swupdate+bncbaabbyhitscamgqeyhdwr5y@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=hZvNMCR5; dkim-atps=neutral Received: from mail-wr1-x437.google.com (mail-wr1-x437.google.com [IPv6:2a00:1450:4864:20::437]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FTdjL6j65z9sj0 for ; Tue, 27 Apr 2021 07:45:08 +1000 (AEST) Received: by mail-wr1-x437.google.com with SMTP id o14-20020a5d474e0000b029010298882dadsf19639020wrs.2 for ; Mon, 26 Apr 2021 14:45:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619473505; cv=pass; d=google.com; s=arc-20160816; b=cTKebSrW3xDnOKNaaUryTAEbXiTmrRV4WF9cXd1SN/fCNpksp/G6E+0Cb5xCqxmX0P pgetJeFT4qBgcpNOj85rBpR9fuZdZszFQfl3n/A152a09QGP0PhcJ6pPPl7kj/e3Ec0v Jhim7FGL6znE/vUy8JxXSU9XLoMdbAHBiNMq98X/jLGJ/DTj5++C8gCDe7SP5Pi97Th3 PI5ye/2i2LjK+UCQUbvKDFFPLMnsZYcOzbwZ4NZv3CJX3sMr1jL/3MwNY2pUMfvIES7w J88Q1RWkp9AxLmMY4It1NN+GsbncMzzyQ79m4h+9J8FYWidOPHrqjqiEF8oC9Kg5xE0p 22iQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=PqA6lKOAsrwFExzDIZNaZr/7LxS+KNiUgrsfzOF5w5w=; b=A6RYmm8Rzg5S3RCFIlE+PLTLbEsjv9PpcMbU4lQmCPupGlAUBsf09NX1AGPQz4zDhr hVfBQcqEOViOO0gaXFskhSgfGAZhjp5cmIJ1liRwT8LtLOWx2jrnsQ+xVAksAidu6N6F 5HxewckjfCNj8NLbPVEBy9UKzl64+4REw0pYS1XFXfxqF7hPPdWfXePx7i/QoMci+Tae /peCFTdPbkIWVzV0TmsQ3Le25zYhNMvRSbQcAYK26ZqG0cRsVopx0S7WP7uRqtMqacqq INpkL8X8m+DEjqB9oXiQA5Hgus1ZZ+1p38W8vtJNyR88ZqGMQIg4I6igaLCZoMbHzfdx G7TQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PqA6lKOAsrwFExzDIZNaZr/7LxS+KNiUgrsfzOF5w5w=; b=hZvNMCR50wTwT+pqaXJw+W3CWbtK9AWt2CaA0RK69aIyYSCeALZWgtw7Cr/ZGrNVP7 Yaip/RugeQaOGpDhfc8VKwH56DS53pjND4Vs9kqLh4tWPM1VsYAg2m/sZ4Wcg3q6eBNI hDICqKyQxpZ8x76gZe0BP9uLNFCpvO3l0kVqzndSWXnbCs/vBmfYqOtJzj3ErrIt9XdX v2VkJp4I3CdjISiWYA4F11AH7bgYECgIuPrQnNZBlTnuFBgFwwP5J35LUwM1Eelepg6O ahuFd5K71HFZc2FLuU0rlD95jcPMcj4XE629047HB1L3By+G+PeiTLJydFna44HRB+7X X4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=PqA6lKOAsrwFExzDIZNaZr/7LxS+KNiUgrsfzOF5w5w=; b=mS7czMn1kivzImDH8OuFaxDW8ekO4a+8lh4qKt/R8dUyTe/OT24/5GsPjjs/uMP8SV gYJGC5SAZLKU50yCOxl/nFxTzTiyxpKfDNBC0R3zhmciYluC29/tk5nXBICfpuBfIhmT 16d9vdGhOtur8ovMB3gwylNOrrbmjvIAQAG0hp0aBQP15yVuVprmQioff/CM/UPWQJti lD7r8cOeNrVg7XHR8EnoFAXeyBDXhgJ3hUBNgp0a/N4Xo0frSqEyPZHhBmRmAJrhiBLo dkWFZyoPpS7n+l1veohvbUq7Jbu1O0r51Z0fCNNTWpN+vzvfnTHkE3L4BSJML4fjQEAs C3iQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM5322PrkQU+fMfhtTrZ04pJvVguorRV2Rg9hyuFy/7FzIGO9Vqiws QFq8myt3a35yJhbhmWQg/cU= X-Google-Smtp-Source: ABdhPJxzH/ey/NjmqkPKxzVTSO3p3YOXW/gCTtrUYxrNBLFpsj/vmeUWAKPytQuMoJvYvn0+GARBSQ== X-Received: by 2002:a5d:4d92:: with SMTP id b18mr25869683wru.269.1619473505155; Mon, 26 Apr 2021 14:45:05 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:6804:: with SMTP id w4ls3334242wru.2.gmail; Mon, 26 Apr 2021 14:45:04 -0700 (PDT) X-Received: by 2002:adf:9148:: with SMTP id j66mr25875542wrj.124.1619473504374; Mon, 26 Apr 2021 14:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619473504; cv=none; d=google.com; s=arc-20160816; b=j3SLjqXyycioxhGyj8HTGM7nci1VkZ2OIfJ+mPT4vJSaL7UIZ3P2B9bXPx7YGPpTae zpw3JAc6XJzmrfZKEJwcdGkHKvR7ZZB6lsCZwFeOTDSvtn+iq/akGN2QKpQSNtccAOK8 +Iovgu7wzGbRBHcO4PtG1VJUr1qpQzXVwx/fKWO7nKFa84Gjz9mOQraRrdslFRVjy2xD +9onFwKSTW8/ym56RmCPqeSj/JyEkSvRXB7VlFvpTye7XdfuIUA76+sQui+XiE02EFoN MtGiK3OxcuBQ7lzKR6g25mjAmi3N3MZF8jT0ydrYE0L3jCHT4MNEmZY2xQZ5lcD/0/27 ZScg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=Hkrzpf4wFppqjJWAcfOPnMrwb0UXxApgye6dBOaR6gI=; b=MkvHJoCbT0kmSpp/79EfSBYTnFpUqmUmuChMlOQsLHYU3CtblUQsJIvFJsYcaoGuVV PsGS+NSrTFXZXI/gROWNaexpIn+Bxuvl4xD5TFhwCxM8s5s1P8B/yF2j3dfv0UxlTluR J6VSh07b30FVPrVho3un+PDGRakR8rBAFCAY3u2agasG28zxXoRC+mfb3hdrtaWFq0to sxQf2E6ZnLxE3rzJxF3TVkibg4NhRmJ75wkYmm07oqmguL8guzYzRjvLwhZ9r/MRT+7q T8NsPpS/UKBun5ZpM0JkXKRTht4O/Hgw2CU+qvI61mYx9Gm48jzx3VVRkcaJHSvXN+gq buOw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch Received: from mxout017.mail.hostpoint.ch (mxout017.mail.hostpoint.ch. [2a00:d70:0:e::317]) by gmr-mx.google.com with ESMTPS id s141si98243wme.2.2021.04.26.14.45.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 14:45:04 -0700 (PDT) Received-SPF: pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) client-ip=2a00:d70:0:e::317; Received: from [10.0.2.44] (helo=asmtp014.mail.hostpoint.ch) by mxout017.mail.hostpoint.ch with esmtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1lb92N-000I0w-Ns; Mon, 26 Apr 2021 23:45:03 +0200 Received: from [2a02:168:6182:1:6da9:5990:7c25:6a2f] (helo=ryzen2700.home.reto-schneider.ch) by asmtp014.mail.hostpoint.ch with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1lb92N-000Cr3-Ir; Mon, 26 Apr 2021 23:45:03 +0200 X-Authenticated-Sender-Id: reto-schneider@reto-schneider.ch From: Reto Schneider To: swupdate@googlegroups.com Cc: Reto Schneider Subject: [swupdate] [PATCH] shared library: Link against zlib Date: Mon, 26 Apr 2021 23:44:56 +0200 Message-Id: <20210426214456.14669-1-code@reto-schneider.ch> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Original-Sender: code@reto-schneider.ch X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::317 as permitted sender) smtp.mailfrom=code@reto-schneider.ch Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , From: Reto Schneider Library is using crc32(), therefore needs to link against zlib. Signed-off-by: Reto Schneider --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a04dd11..bd38366 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,6 +19,7 @@ ADD_LIBRARY(ubootenv_static STATIC ${libubootenv_SOURCES} ${include_HEADERS}) SET_TARGET_PROPERTIES(ubootenv_static PROPERTIES OUTPUT_NAME ubootenv) add_executable(fw_printenv fw_printenv.c) add_executable(fw_setenv fw_setenv.c) +target_link_libraries(ubootenv z) target_link_libraries(fw_printenv ubootenv z) target_link_libraries(fw_setenv ubootenv z)