From patchwork Mon Nov 14 21:28:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9428465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B7124602F0 for ; Mon, 14 Nov 2016 21:31:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B558928A98 for ; Mon, 14 Nov 2016 21:31:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A816928AED; Mon, 14 Nov 2016 21:31:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (smtp.nsa.gov [8.44.101.8]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D29C28A98 for ; Mon, 14 Nov 2016 21:31:39 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="922902" IronPort-PHdr: =?us-ascii?q?9a23=3AUlhrYRBKxcMv+M33CcyUUyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSPr/p8uwAkXT6L1XgUPTWs2DsrQf2rGQ6virADBRqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmssAndqsYajZZtJ6s11xDEvmZGd+?= =?us-asc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y2HoVMaWBcC1CMCm/od4GeVPgQdi2eOMhhkiYL?= =?us-ascii?q?VbK5UY8uyQmutBPmy7pgNufV9CwYtZbm1Ndr/e3ejh8y+iJpAMSayWGCVXl0nn?= =?us-ascii?q?kPRz80wq9wvVB9xk2E0ahijPxSDcZT6O9RUgcmKZ7cyPR3C97oWg3beNeGVFem?= =?us-ascii?q?Qs69DDE0VtIxwsYCY11zGtW5lBzD2DCqA7ANnbyRGJM06r7c32T2J8tlyHbJzq?= =?us-ascii?q?ohj147QsZUNm2pnK1/9w/OB4LTlEWZjamqf7wG3CHR7GeD0XaOvEZAXQFqTKrF?= =?us-ascii?q?R3EfaVXMrdni/EzNU7quBa4gMgtbxs6IMrFKZcHxjVVaWPfjP8zTbH6rlGe0Gx?= =?us-ascii?q?mI3a+MbYrte2gGxyXSFEkEnB4V/XaaNAgxHD2to2TAAzxyDVjveV/j8fFiqHOn?= =?us-ascii?q?SU851wGKYFNl17qx/R4YnvicS+4P3rIDvScusS94HFGn39LZE9CAvRZufL1AYd?= =?us-ascii?q?Mh51dKzXnZtwJnPpynNKBimkUTcx9xv0Pp2RR3D59Pkc4woHMs0gVyNbqS0Eld?= =?us-ascii?q?eDOAwZDwJrrXJ3H8/R+1b67Wxk/R0MyN+qoU9vQ3tU/jsxq0Fkon6Xln1MNV03?= =?us-ascii?q?SE7JXQEAUSSY7xUlow9xViu7HVfzQy54LO2n1oKqS7rjjC29c1C+Q/0RagY81T?= =?us-ascii?q?MKWaGw/uC8caHdShKPQ2m1i1aRIJJOZS9K8wP8OiafSGw7WmM/x+kzK8imRL+o?= =?us-ascii?q?d90liD9yBkUO7Hw44Fw+2E3guATzrzkU2ustztlo9aazETEXGyxjTkBIFLfK1y?= =?us-ascii?q?YZgECX20L82x2Np+m4bnW2RE+167G1MGxMipdAKMb1z8wQJQyUMXoWa9lSSkzz?= =?us-ascii?q?x0lDcprqWE0SzKwuTicgAIOnRMRGV4ilfsO4e0hcgAXEe0dwgpiAel5UHiyqhf?= =?us-ascii?q?paR/NHXTTV5TfyfoK2FiU62wtqeNYsNU85MoqSRXUOK9YV+GUb7xuR0a3D3/H2?= =?us-ascii?q?FG3jA0aymquonlnxx9kG+dNnFzrH7dec5u3xfQ+NvcRPBK0zodWSl3lSLXCkK7?= =?us-ascii?q?P9mz8tWej43DvfymV2K9Sp1TdjHmzZuauyum4W1mGwewk+qold3gFQg6zSj719?= =?us-ascii?q?9xWCXNsBr8ZI7r2LigPeJhYEZoGEf269BmFYFmjoswmJYQ1GAfhpWR5HYIj2Hz?= =?us-ascii?q?PM5F2a3gaHoNQSAEw8TP7AjjxkJjMmqDx5jlWXWF3sthe966b3sV2i0j6cBKE7?= =?us-ascii?q?yZ7L9akitzuVq4qxzeYeRnkjca0/su52YQg/sVtwo10iWdHrcSEFFAPSP2ihSI?= =?us-ascii?q?686xrL1Na2apbbi/ylB+kMu8DLGZvA5cQm35do05HS9388V/Kk7D32P96oHjYt?= =?us-ascii?q?nQYswcugeSkxjek+hfMIgxmeYShSp7JWL9umUoy/A9jRNzxpy6oo6HJHht/K6j?= =?us-ascii?q?BB5XKCH1bdsJ+j7xlaZegtqW34e3E5V5ADoLQZ/oQOm0HzITqfTmNx+CEDMmpX?= =?us-ascii?q?edA7bfGhWf6Eh+pXLVD5+rL22XJGUezdh6RxmcJEhfjx4PUTU/mZ45GA6qy9L9?= =?us-ascii?q?cEdl5jAR4Vv4pQVWxuJuKRb/Tn/VpB20ZTcsVJifMB1W4xlM50jPN8ye8uVzHy?= =?us-ascii?q?RD852vsgOCN2ubZx5SAmERQEyEAFLjMaey6tnc6eSYAfC+L/TWa7WUteNeT+uI?= =?us-ascii?q?xY6o0oZ+8DaMNtmAPmNiDv0jxkpDWmt0G8LHlDUTUCwYizjCb9aFqxum/C14sN?= =?us-ascii?q?y/+uzxWA3z/YuPF6dSMdJ39h+rh6eMLfWdizt/KTlCzJ8MwmXIyLcH1l4Ily5u?= =?us-ascii?q?byWtEagHtSPVVqLcgKFWAwQeayxpMM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ACwKkEqQexnGx8yuYPnNpghfQ?= =?us-ascii?q?3BHsWWmz9kP5rTdkQSvQyNfuikhVWaOtBUdVRCqpPVV3sC2UMQrtqdr3vbg17E?= =?us-ascii?q?AqPWzlrt2NknChNKlQH83lK9yWOTM0q04PjJ0tWtyv3pgWGdinL9cX/nF+dPze?= =?us-ascii?q?5H61nCJav6dInYze4tqS+vnNG3mvkbGaoa2XxD9E0ng4oU0/6te4O/HB+t2KQv?= =?us-ascii?q?Co12IPQCd6oAbOQgC6pafar18OP0yHykDLmJYFPttBx3k3ylnm5PQ/QNI07Ahe?= =?us-ascii?q?EILAaugDpTD1PTv421efY9Q5VimEyTRXBU71EUNlGKcgxGLwodjJmmnK910vXI?= =?us-ascii?q?lweFTthQZrAIUgNUIt9F8XzzIGEQgKbxCbEL6oClr+IIsBVEgMcxKH06ameqY5?= =?us-ascii?q?2k1z2LCv5PTJYex6GaUNKu5XjhSSk1hDBpIWraoeTapme1BA6aHavQfiC43oXv?= =?us-ascii?q?T8k3o/K+G1SNhA8c8Fr3si/hq/Rx245JdH9LYbjZCFe7VKYZfSoc986F1n6iQX?= =?us-ascii?q?dixXhxh/jQ22XvwApOz55djbqpWo4P60VKkxX+UX6wQ0B2Nmgpv1hFAsv9TX1+?= =?us-ascii?q?BCRY3Rkon//x5CI3mRuIbCyRZ8NesOJJivfLZh8XUHOzYRJ3YKPdqXZPkz/Slt?= =?us-ascii?q?PynN6FBYBMMDe88YNtLXmQ9Ikk3pRK1T9s3DF1+DEYhzadon72XpxzAu6pY8Sf?= =?us-ascii?q?zv6CGsKpDQ8V5NJOlPjCNym9LevOIV2+bdCDAL4XmFbBh42iGCy5iIC/vr+OWD?= =?us-ascii?q?1tHVWE0cHi43VYddKyCO+Qq5SeqpjJ/pSB+b6tfvgJIic0KdXn2xnaUfvalWDe?= =?us-ascii?q?FNkT770SZCFo/rm/2Zqd2s6HFYtldfCoZ88QXFGLlDPpV8IRn3jcirRlNyByTl?= =?us-ascii?q?esHUdwYuuPKMyecR5+VzLFfxZYgGLR0a0b369GBVTgx0SLHspFqZWvgRZNR+Qv?= =?us-ascii?q?Pesn9V8Z5gK7MIPFWFvJzltCtIp0w2AA4nb78wtD9aelDVnAJLX6b0ubgAihYT?= =?us-ascii?q?UNNioU9DA36wN34+5zvJUqRVlqqRBOYW8jqNVKwOVVtnMidkTxOywpVudKOjne?= =?us-ascii?q?pbvWNegiN9vP8q3iR6RBumpyLso7gC2TQ+97yjqToBuHNFTuSCkyjSElVM1u4K?= =?us-ascii?q?jboGB3bk91O8fGEJbJHu77l/OcTg6Y4h7mwwYRo5ZS0JQ/igCyHrgqOMA4yPrM?= =?us-ascii?q?xThB6Xt8XTdr+/Ny4SOaohyRj7XXhyzhDenAp08GsMWjig48ErJIOhOcYiwSqk?= =?us-ascii?q?HnPbe0gI4qNItsvxqFEKQfAyaVx/2mVi0tKISjcLRMPRB2Y/lhIkZnlccJJf9R?= =?us-ascii?q?8aELElgjCJvqZa+QEUZC3bEp+/9onRmsfI3mI9Tcxxy2LTqaCEiYkm0Hp/m9N7?= =?us-ascii?q?9iSOomgdd/TEU89wBXj+zohfxvDlZ/W2q+wJVYRoxrKgUP8EL8mi9nC72JpvWk?= =?us-ascii?q?C/wLQRAUC1MOgZxrfUSy2lU3GXWfyXc2iQmDY0Kkzy5R6oLl0xcstFs089Mu/f?= =?us-ascii?q?hpFBlgzhULV0Rj6TpV/a12EjL+Iadxwst4ejZgMKTfQdZ+6CKugy2Pc+EkcDb2?= =?us-ascii?q?fVHStqDO+7qV+tnJZhNHVm+kj6Zfnt/R3nMNuVARkIC4naroR++faiXGKOJWdg?= =?us-ascii?q?zAFuPElz7+rfFUo+tuFSc5aVhtXRic500egbePdxKyE9vMAcmp5744mOzMiKaQ?= =?us-ascii?q?3Rzor1JdzNrfiYB/rfzko0dWFeVroUehj154I8Pt44R7LfB71ZsgoABaIiWpwu?= =?us-ascii?q?K3/x9L1oLAN0agPRZrS0g8nypuKMYptUpmPW4UwrISfZuh0D1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wPEx0TJkpSw6tD+dD0lcjgKe6KfQGrhzxrhc6mk55f12WVuPQzzHeGjd1oWm?= =?us-ascii?q?E95PxTtpoX38zMrUsOVtO6dbqox6G1oKHzx5Jsrc/TFAVmH03hG+vxClEzSCOD?= =?us-ascii?q?gZ+ioEJTQZduZpyO92qBTIdtHH6UOUrK8hrVWkBhuFCrqzwpxEFt/m2R++aSZV?= =?us-ascii?q?bTX4X6xx/+1AkNcUfLMPeZm1A1eHKBP3SA2fpXMi7h/v95KqBs1Oy35Ws6IrM8?= =?us-ascii?q?qhC48LBt7d1So+wnFP34EnyDGBRNTFacuquIRDGXgSO8zlGjHQa5XTMmC37agO?= X-IPAS-Result: =?us-ascii?q?A2ESBQB/LCpY/wHyM5BeHQEFAQsBGAYMgwcBAQEBAR9YgQC?= =?us-ascii?q?7KCQNiCBTAQEBAQEBAQECAQJfKIIzGgo5PAEBAQEBASMCDWUCNxQgDgMJAhcpC?= =?us-ascii?q?AgDAS0VHwsFFQMEiEAEAQmyHioCg2aHTyAFhjyGKYJLEQGFfQEEmkGBb45jiiG?= =?us-ascii?q?GCpFOVVoNOIMhHIFecYVPgi0BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 14 Nov 2016 21:31:37 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAELTAOC025312; Mon, 14 Nov 2016 16:29:18 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uAELT8Ew097852 for ; Mon, 14 Nov 2016 16:29:08 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAELT8Ap025304 for ; Mon, 14 Nov 2016 16:29:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C1AAARLCpYhyIeaIFeHAEBBAEBCgEBgzEBAQEBAXeBALcZhC4SiCBTAQIBAQEBAQITAQEBCgsJCR2HYhqIRwQBCZ95kiWEEodvBYY8himDRYUVBZpBgW+OY5ArkU6BPIMHAQsBRRyBXnGHfAEBAQ X-IPAS-Result: A1C1AAARLCpYhyIeaIFeHAEBBAEBCgEBgzEBAQEBAXeBALcZhC4SiCBTAQIBAQEBAQITAQEBCgsJCR2HYhqIRwQBCZ95kiWEEodvBYY8himDRYUVBZpBgW+OY5ArkU6BPIMHAQsBRRyBXnGHfAEBAQ X-IronPort-AV: E=Sophos;i="5.31,640,1473134400"; d="scan'208";a="5823119" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 14 Nov 2016 16:29:08 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3Azp3kGBGRz2h9s7d8AP/X3p1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ7zpM+wAkXT6L1XgUPTWs2DsrQf2rGQ6virADBeqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmssAndqsYajZZtJ6sw1xDEvmZGd+?= =?us-ascii?q?NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLD?= =?us-ascii?q?TRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljj?= =?us-ascii?q?oMOjgk+2/Vl8NwlrpWrhK/qRJizYDaY4abOeFicq/BZ94WWXBMUtpNWyFHH4iy?= =?us-ascii?q?b5EPD+0EPetAt4f9pkcBrRy6BQa2H+Pk1zxGhnjx3a0hyOQqDAbL3AohH90St3?= =?us-ascii?q?TUqM/6NLwIXeC0y6nIyi7Db+hN1Df454XJfQotofaWXbJ/aMfcz1QkGQ3CjlWV?= =?us-ascii?q?s4PlPjWV2/wXs2iG9OVhVfuji2o9pAF3rTij3MAsipPGho8T11vK9j15zZ4oKd?= =?us-ascii?q?GmTEN3e8OoHIdfui2AOYZ6XtkuTm9ntSoiybAKpIS3cSkLxZg92hLTdeCLf5KW?= =?us-ascii?q?7h7/VuucJypzimh/d7KlnRmy9FCtyu3iWcmw11ZHti9Fk9bRunwXzxzT7cyHS/?= =?us-ascii?q?th/ki/xTmP1wbT6uBdIUApi6XXMZkhwqQ/lpYLsETDGDH5mFnugaOLaEkp/vKk?= =?us-ascii?q?5/n7brjpvJOROZN4hhvwP6khgsC/BP43MgkKX2iV4+S807jj8FXkTrtWk/M6jr?= =?us-ascii?q?HUsI3VKMkYqaG0Gw9a34Q75ha6ADqn384UnX4dLFJKYB+HiYnpNE3JIPD8F/i/?= =?us-ascii?q?mE6gkDZsx/DBJb3hGY7AIWPEkLf8e7Zy91BTyBEpwdBa6J9VBasNIPXpWk/+rN?= =?us-ascii?q?DYFAM2MxSow+b7D9VwzpgeVnyLAq+YNqPSrFCJ6/kzI+iMeIAVuDH9J+Ij5/71?= =?us-ascii?q?l3A1g1Adfa633chfVHftBfliIkOEcVLwk9wBFiEMpQN4Q+v023OYVjsGQXe5WK?= =?us-ascii?q?Y1/XkaD4W9Fs+XQIGmh7iIx2G6GZpNfUhDVkDKFm3nIdbXE8wQYT6fd5cy2gcP?= =?us-ascii?q?UqKsHtcs?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EnAQBdKypYhyIeaIFeHQEFAQsBGAEFA?= =?us-ascii?q?QsBgwYBAQEBAXeBALcZhC4SiCBTAQEBAQEBAQECAQIQAQEBCgsJCR0wgjMYDDk?= =?us-ascii?q?8AQEBAQEBIwINgy4aiEcEAQmfd5IlhBKHbwWGPIYpg0WFFQWaQYFvjmOQK5FOg?= =?us-ascii?q?TyDBwELAUUcgV5xh3wBAQE?= X-IPAS-Result: =?us-ascii?q?A0EnAQBdKypYhyIeaIFeHQEFAQsBGAEFAQsBgwYBAQEBAXe?= =?us-ascii?q?BALcZhC4SiCBTAQEBAQEBAQECAQIQAQEBCgsJCR0wgjMYDDk8AQEBAQEBIwINg?= =?us-ascii?q?y4aiEcEAQmfd5IlhBKHbwWGPIYpg0WFFQWaQYFvjmOQK5FOgTyDBwELAUUcgV5?= =?us-ascii?q?xh3wBAQE?= X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="749239" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2016 21:29:05 +0000 Received: from localhost.localdomain (81-66-120-207.rev.numericable.fr [81.66.120.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id E6244564861 for ; Mon, 14 Nov 2016 22:29:03 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/4] libselinux,libsemanage: use Ruby to define RUBYINC Date: Mon, 14 Nov 2016 22:28:14 +0100 Message-Id: <20161114212817.15781-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Nov 14 22:29:04 2016 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP This makes building libselinux and libsemanage more robust on systems with several versions of Ruby installed: when building, only RUBY needs to be set, without wondering about PKG_CONFIG_PATH or other environment variables. Using RbConfig::CONFIG["rubyarchhdrdir"] only works with Ruby >= 2.0 but since previous Ruby versions are retired since 2015-02-23 this should not have any impact (https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/). While at it, in libsemanage, use RbConfig::CONFIG["vendorarchdir"] to install the Ruby extension, like commit 1cd80faa53b6 ("libselinux: versioned ruby pkg-config and query vendorarchdir properly") did for libselinux. My main motivation with this patch is to make the build configuration easier to define on Travis-CI or other continuous integration platforms. Signed-off-by: Nicolas Iooss --- libselinux/src/Makefile | 3 +-- libsemanage/src/Makefile | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 76efe49586c0..4fe1f7002181 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -14,8 +14,7 @@ SHLIBDIR ?= $(DESTDIR)/lib INCLUDEDIR ?= $(PREFIX)/include PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) PYSITEDIR ?= $(DESTDIR)$(shell $(PYTHON) -c 'import site; print(site.getsitepackages()[0])') -RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') -RUBYINC ?= $(shell $(PKG_CONFIG) --exists ruby-$(RUBYLIBVER) && $(PKG_CONFIG) --cflags ruby-$(RUBYLIBVER) || $(PKG_CONFIG) --cflags ruby) +RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYINSTALL ?= $(DESTDIR)$(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') LIBBASE ?= $(shell basename $(LIBDIR)) LIBSEPOLA ?= $(LIBDIR)/libsepol.a diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile index cd29a8abf5ab..c646f274cbc1 100644 --- a/libsemanage/src/Makefile +++ b/libsemanage/src/Makefile @@ -15,10 +15,8 @@ INCLUDEDIR ?= $(PREFIX)/include PYLIBVER ?= $(shell $(PYTHON) -c 'import sys;print("python%d.%d" % sys.version_info[0:2])') PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) PYLIBDIR ?= $(LIBDIR)/$(PYLIBVER) -RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') -RUBYPLATFORM ?= $(shell $(RUBY) -e 'print RUBY_PLATFORM') -RUBYINC ?= $(shell $(PKG_CONFIG) --cflags ruby-$(RUBYLIBVER)) -RUBYINSTALL ?= $(LIBDIR)/ruby/site_ruby/$(RUBYLIBVER)/$(RUBYPLATFORM) +RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') +RUBYINSTALL ?= $(DESTDIR)$(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') LIBBASE=$(shell basename $(LIBDIR))