From patchwork Sun Feb 19 21:53:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9581875 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 48EE6604A0 for ; Sun, 19 Feb 2017 21:57:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33A77287C9 for ; Sun, 19 Feb 2017 21:57:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2660E287CF; Sun, 19 Feb 2017 21:57:44 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) (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 A45DA287C9 for ; Sun, 19 Feb 2017 21:57:42 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.35,183,1484006400"; d="scan'208";a="3301603" IronPort-PHdr: =?us-ascii?q?9a23=3AbBXixxVqo/dnIn3gvafCEz674YXV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYYheHvKdThVPEFb/W9+hDw7KP9fuxBCpZud3Y7SpKWacPfidNsd?= =?us-ascii?q?8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVv?= =?us-ascii?q?O+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIhi7qQXcutMLjYd+Jao91x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00CIG9DYfEQICtgaKB0Ty1Hp1Se2BHBUuDEWrud4WYRvcAciWSItVukjYc?= =?us-ascii?q?T7iuV5ch1Q2ytA/907dnNvTb9TYGupLl1dh1++rTmAoz9TNqEcuSzXuBT2Zunm?= =?us-ascii?q?MHXzU2xrxwoVRhylef1qh1m+FXFdtV5/NPTwg1K5rcz+1hBt/oRA3BZNCJREyh?= =?us-ascii?q?QtW8DjE7VsgxzMMWY0ZhB9WiiQjO0De2A7APjbyGH4A78qXZ33ftPcl90GrG2L?= =?us-ascii?q?Mnj1Y4XstFLXemibJn9wjPG47JlF2Ul6esdaQAwiHN8HmMzW+Qs0FESg5xUb7I?= =?us-ascii?q?XXcHZkTIq9T541nNT76qCbs8NQtAxtSOKqxQat3mlV9GXuvsOMzCY2KtnGe9HR?= =?us-ascii?q?aJx7KLbIrsYGgd2SHdBFEFkwAV53qGMxIxBj2io2LfEjxhC0jjY0Xy/ulisHm7?= =?us-ascii?q?VFM7zxmWb0190Lq44gAaheSGRPMJ37IEozwsqy1uE1an3tLWEMKApw57c6pAf9?= =?us-ascii?q?wx+lBH1XjWtwZlJJyvM7hihkICcwRwp07v2RR3CoFFkcc0tnMn1wRyJryF31NG?= =?us-ascii?q?bTOXx4jwOqfQKmnw4h+gd7LW1kvZ0NaM9acF8O44pEn7vAG1Ckoi9G1q09dP03?= =?us-ascii?q?SG4JXFEAsSUYnqX0Yy7xh6pqjWYjIz5oPPz3FsNrO0sjDa0dIzGOQl0gqgf8tY?= =?us-ascii?q?MK6cFw/9Cc4aB8+zKOExmFimdBEEPOdP9KIuOMOmbfSG0raxPOl8hDKmkXhH4I?= =?us-ascii?q?dl302W6iV8UO/I0Igfw/yDxASISzL8gE2mssDtloBOfSsSEXanySj4GI5RYbV/?= =?us-ascii?q?cpoRBmeqPcK33cl+hp7qW3ND716sG1IG19GveRqOblzyxxdc1UIJrny7gSG41S?= =?us-ascii?q?B7kyk1rqqD2yzD2+TiewQDOm5PQ2lvllPsIZWoj9AdWUindRIllBy/5Ub136Jb?= =?us-ascii?q?vrhwL3HPQUdUeCj7N3piUqWqtrqFeM5P9IglsT5RUOS7b1GaT6Tyox0A3yPlAW?= =?us-ascii?q?Re2Cgxdyu2tZXhgxx6lGWdIW59rXXDfcFw2QnQ5MbHRfNKwDoJWjN4hiLKBli5?= =?us-ascii?q?JdWp+s+Ul5jbuOCkS22hToFTcTXszY6YqCu0+HBlARylkPC3gdDoDQ860Srn2N?= =?us-ascii?q?ZwTiXIsAzwYo/12KSmKehnZFVnBEfg68pmHYFzio0whJAU2XgemJqV5mEKnn3t?= =?us-ascii?q?PtVB3qLydn0NRSQEw9TN+gjqxFVjLm6Vx4L+Tnid3MphaMWmYmMRwCIx9dxFCK?= =?us-ascii?q?eT7LxCkit4uV64rQPXYfdnhDcdzuEi6HkAg+EGoAAt1DmSAqgOHUlEOizhjxCI?= =?us-ascii?q?79GlrKVLfWqvaqa/1E5/ndCnEbGDrRpRWG3hepcjGy9w79lwMEnW3H319I7kZM?= =?us-ascii?q?HabcgPuR2MjxfAk+9VJYorlvoNgSpnPXzyvWc5xO48gx1jxoq6vJWbJGV25q65?= =?us-ascii?q?BQRYNjLtbcMJ5j7tlbpentqR3423BpVuACgLXJ/yQf2yCj4drvPnNwKSED07rH?= =?us-ascii?q?eWAr/fEROZ6Edhs33DCZarOG+LJHMB19VtWAGdJFBDgAATRDg6nYA2FgaxxMH6?= =?us-ascii?q?c0d2+DYR5kX+qhRS1uJkLR7/Un3QpA2wcDc7VICfLAZK7gFF/0rVKdaR7v93Hy?= =?us-ascii?q?5G5p2utgqNKnCFaARSFmwJR1eECE75Prm1/9XA6O+YBvekL/TSf7qOp+teV+2H?= =?us-ascii?q?xZ2xyIdm+SiDNtmXNHl4E/I7wlZDXWx+G8nBhTUPTTEYmjnTb86duRi8+jd7rs?= =?us-ascii?q?ah//T3QAjv/5eAC6NOMdVz/BC7mb+DOPSNhCZ9MjtXypIMxWPIybQG0l4dkSdu?= =?us-ascii?q?eyOqEbQa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?ByAUkWGugIErWR5YRRgH00m+rHOd0KaqpCgHqAFQa4Er8ezn6m8ymXL3N/ghHJ?= =?us-ascii?q?yBHwRXm87EHtoC99XCvMy8vjkktJWbm2H0hSWTGpNVV/sDOVMwrirMD3trgt7E?= =?us-ascii?q?EqLmzks8qAlGm7N7NREc3/PtucLjQqq18MkJ0+XNqv2ZscGdanJtce7m1+ZOPE?= =?us-ascii?q?62y3iy9Bv7tHh43G78Ga5/XXHH2gj6mEpLWI3z1X12Y3sko+6t+6MPHC/dqKQ+?= =?us-ascii?q?6n12wJVSdwpxPBXwKpqrzct10UP0iL3VzKmIwMO9FVx3g41kfo5Og5Wt0z7xle?= =?us-ascii?q?FpzdZ/weuTDzJSH0zkiFb9IwTCme3CNdHkjpHllgBKg8xGXwsdrMlXfX/V0oWo?= =?us-ascii?q?ZweFL8iBxyDoU3M0Qt50YLwisNFggNcxObDKqyCUTjM4QESVAJaQ6b07iiZqc3?= =?us-ascii?q?wUpzz6ur5O/IaOxxB7EANvhDgQGTm1hbAIgZsbUEQLJ7eV9S6rLYphT4B4jgRf?= =?us-ascii?q?jmmmI6NeepTcBC7cAZq3wi7x6kRxW695dM9bkbh46TdqNfepjDpt584F1o5TER?= =?us-ascii?q?bSxBmh5/gA2lUeoEvuDs/sDbsIa06uapTKstReQX9x0vCmR7kZTxgE4socvW1+?= =?us-ascii?q?daRY3Zk4L//x5RI3SSoobVzwF8KfYSK4KsZLtg9nQGKDIEKH0SJteWcOcz4zNz?= =?us-ascii?q?PzrP/VBCBdkMZdwANsrXhQ9UklHpWK1U9sfDAVCYCpxzds4y4Gr1yTA17YM8Xf?= =?us-ascii?q?z96D+yPp3Q81ZNMO5dgyp2idLCvu8VweDIByQN5nmZcRd1yDuYy5aRE/bw4fmM?= =?us-ascii?q?yNbMWlMeBCE2T5tSJDqM+AygXOq1l4zlUhiK5c/3gZI+cl+QR3OqkaQdqKlMDf?= =?us-ascii?q?JPiiX13zhZDID1hOiZs9my52tNsF1IDoJz4QfCGKVFMZVxIQ74mdWzRkhgGiv/?= =?us-ascii?q?f9nZdgY0uOWIwucD+eN+OFXlaIAGIxIExLP66WZPQQt1UrH2pEuZUfgXZNR4VP?= =?us-ascii?q?POtmpV5p54K68TIFido4TnrjhSp1AsHgApdL8woydedknPgA1aRab0t6QdigsH?= =?us-ascii?q?S9J5v1FDGX6oMmIk+zXHTbhVjLWWCPEN/TWcUKoOU1lvMiN5RB+1w4the7+onf?= =?us-ascii?q?BBr2NHkThwoPw03Dx8RBqzozfgp6QT1jI84Lu4rikOuWRZTuWClCfFEVNDzPUW?= =?us-ascii?q?gqcbD3bt80e8bGMCbIv157lnPt/g+JIk43kwbhQvZSoGXf6vCyvolaOHHpSPsM?= =?us-ascii?q?5AhB6KoMjOYqO8LTMJNrgk1BztSH5z0gnYnBZ1/2oGWTqg7No+K4W7J8kp3C2o?= =?us-ascii?q?GXLUdFwU+KNGrNPxtUIXTOsxcV5hwmJj0siBRiEXWMPPG2I1jhU5ZmRFcZJD7w?= =?us-ascii?q?QaF6opgjuToKlG/x8Uby3QEou4+4nch8HI1mchTd1y3GLZurWFho820H1ig950?= =?us-ascii?q?7zCOt24Ud+HDV89sH2X81oZYyezlffmttfoHSIR+wrS7TPACKtWj+Xex2JhyWE?= =?us-ascii?q?+q2LoeH1S9MOIYyLbUSSGlRnOEWeiRdWiDgSo5OFbo5Ra0Nl03dNtKr0glP+vN?= =?us-ascii?q?gp5ckAPgXq1wRiWUvlLb12sjMeUbdw0qoounfRIFTPIJbeiGOecu2OE+CEcLb3?= =?us-ascii?q?LRHyt2C++3sUaqnIh/OnVg/Vv1bP/o8gDnLNuSAAcLHZTdrp5r9vywXniBNmN4?= =?us-ascii?q?zB1uIEl08P/SF0gwtu9ZaJuRgdnQiMh40eEbc/dhKys9tcAPmoh784mbzN+KcQ?= =?us-ascii?q?3Nzpb1PdzVp/mYA/7cz0QtYWxaUKAWYQDy54U8INE5XaffHb1HshQAHaI6WoAu?= =?us-ascii?q?N3/t9KF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zYNwHv8DfXWle+aUQSYAFNvkn9JHXOL?= =?us-ascii?q?cMwPYuxD9mois6syOZD15GiwKK7bffHKx7xr1Y+WY34et6XkeRTDPDISD7zd+9?= =?us-ascii?q?BsZOwzp+iWz13MrT+OZ2Pf1VoJ8qLk0NBHdQJ9va+TlaGUDz3xCp90K9HT+ZJD?= =?us-ascii?q?sCpjcMIjceXuMp36l8qhmeJYWJ0l+Zq6908BjjMg2MELfhncUTBw=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2EuDAAMFKpY/wHyM5BeHAEBBAEBCgEBFwEBBAEBCgEBgyZ?= =?us-ascii?q?hgQmOVZMpAZUxJgOBd4YwVwEBAQEBAQEBAgECXyiCMyKBBVtDAjcUIA4DCQIXK?= =?us-ascii?q?QgIAwEtFR8LBRgEiU4EAbBCJgKDaIdohkyGPoJXEQGGAQWcBIIChHKDIYd7ggi?= =?us-ascii?q?IW4Y0iDOKb1h4CCAULEaGSXSIQoIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 19 Feb 2017 21:57:40 +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 v1JLuRqE009227; Sun, 19 Feb 2017 16:56:44 -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 v1JLuOfl148634 for ; Sun, 19 Feb 2017 16:56:24 -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 v1JLuMCB009225 for ; Sun, 19 Feb 2017 16:56:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AxAQDhE6pYhyIeaIFeHQEFAQsBhDKBCY5VpEeENQiIJ1cBAgEBAQEBAhMBAQEKCwkKHYdwiW8EAZ4YkiuEEIdohkyGPoVRDIMNBZwEggKEcoMhh3uCCI8PiDOKb4FXIBQshEABCwGCQnSKcAEBAQ X-IPAS-Result: A1AxAQDhE6pYhyIeaIFeHQEFAQsBhDKBCY5VpEeENQiIJ1cBAgEBAQEBAhMBAQEKCwkKHYdwiW8EAZ4YkiuEEIdohkyGPoVRDIMNBZwEggKEcoMhh3uCCI8PiDOKb4FXIBQshEABCwGCQnSKcAEBAQ X-IronPort-AV: E=Sophos;i="5.35,183,1484024400"; d="scan'208";a="5949659" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 19 Feb 2017 16:56:19 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3ARa5akBUU/ILaA1LtOAceGYMPLJPV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYbBWAt8tkgFKBZ4jH8fUM07OQ6PG9HzVYqs/c6jgrS99lb1c9k8?= =?us-ascii?q?IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBo?= =?us-ascii?q?KevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyrQjdrNQajZdtJqosyhbFvGZDdv?= =?us-ascii?q?hLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfM?= =?us-ascii?q?TQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklD?= =?us-ascii?q?sLOjgk+2zRl8d+jr9UoAi5qhJ/3YDafY+bOvl5cK7GYd8WWXBMUtpLWiBdHo+x?= =?us-ascii?q?aZYEAeobPeZfqonwv0MArRqiCgmrAOPg0CRIjWL106091OQhChrG1xEnEtIIsX?= =?us-ascii?q?TbsNL1NKMIXuCu1qXIzDLDb/RN2Tfm84XIdx8soP6WUbJ3a8rRxlAiGgXYhVue?= =?us-ascii?q?rozlOima1uULs2WD9+pvSfiji28hqwx3vzOhxd8sh5HUio4Lzl3I7zh1zJo6KN?= =?us-ascii?q?GiRkN3fcSoHZVfui2CNIZ6X9kuTmBptSog17EKp4K3cDIUxJg7xRPSbeGMfZKS?= =?us-ascii?q?7RL5TumRJC91hHJ7d7K7gBa/6U2gy+LhWsWuyFZKqS5Fk9nQtn8TyxPT6s6HSv?= =?us-ascii?q?pk/ke8xzmDzQfT6vtLIUwslKrbLYAuwqIom5YOr0jOGjX6lFjqgKKZbEkp9PSk?= =?us-ascii?q?5/7pb7jpvpOcMpV7igD6MqQggMy/BuE4PxATUWaH5OqwyKXu/VPnQLpRlvM7ir?= =?us-ascii?q?fVvYzCKMQeqaO4DBVZ0oE56xawFzqm1tUYkmUALFJBYh2HlJLlO1DJIPD/Fve/?= =?us-ascii?q?mE+hnyxsx/DbOL3uHovCLmPZnLfkcrt85FRQyA0pzdBQ/55UEK0OIOrvWk/ts9?= =?us-ascii?q?zVFgQ5PBKww+bmDtV9y4wfVHmTAq6ZLKzSsViI6vgpI+mXfoAZojn9K/87562m?= =?us-ascii?q?sXhsglIZfK+0zbMLeXu4GbJgOEzfbn3y0fkbFmJfmAs1S+jjkxWjVjlIfD7mWa?= =?us-ascii?q?M34TUyE8SnCoDYXaio3KzH2z20SM4FLltaA0yBRC+7P76PXO0BPXqf?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EiBQBEFKpYhyIeaIFeHgYMGAEFAQsBh?= =?us-ascii?q?AeBCY5VkyqRHYQ1CIF3hjBXAQEBAQEBAQECAQIQAQEBCgsJCh0vgjMggQdbgwy?= =?us-ascii?q?JbwQBnheSK4QQh2iGTIY+hVEMgw0FnASCAoRygyGHe4IIjw+IM4pvgVggFCyEQ?= =?us-ascii?q?AELAYJCdIpwAQEB?= X-IPAS-Result: =?us-ascii?q?A0EiBQBEFKpYhyIeaIFeHgYMGAEFAQsBhAeBCY5VkyqRHYQ?= =?us-ascii?q?1CIF3hjBXAQEBAQEBAQECAQIQAQEBCgsJCh0vgjMggQdbgwyJbwQBnheSK4QQh?= =?us-ascii?q?2iGTIY+hVEMgw0FnASCAoRygyGHe4IIjw+IM4pvgVggFCyEQAELAYJCdIpwAQE?= =?us-ascii?q?B?= X-IronPort-AV: E=Sophos;i="5.35,183,1484006400"; d="scan'208";a="4033925" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2017 21:56:16 +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 8893E564A4B for ; Sun, 19 Feb 2017 22:53:59 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/1] libselinux, libsemanage: make PYPREFIX computation more robust Date: Sun, 19 Feb 2017 22:53:29 +0100 Message-Id: <20170219215329.3143-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.1 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Feb 19 22:53:59 2017 +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 On systems where $PYTHON is python3.5 (instead of python2 or python3), pkg-config fails to find the Python package because it is named with a dash (e.g. python-3.5). Moreover the build system may have been using the pkg-config configuration files for the wrong Python version when several Python with the same major version number are installed (e.g. using python-3.5 on a system with both python-3.4 and python-3.5 and where /usr/lib/pkgconfig/python3.pc is a symlink to python-3.5.pc). In order to fix these two issues, compute $PYPREFIX from $PYTHON by using the full major.minor version. Moreover update Travis-Ci configuration to grab the relevant configuration files for pkg-config from /opt/python (for example /opt/python/3.5.2/lib/pkgconfig/python-3.5.pc) instead of using system-provided files (/usr/lib/x86_64-linux-gnu/pkgconfig/python3.pc and /usr/lib/x86_64-linux-gnu/pkgconfig/python2.pc). Signed-off-by: Nicolas Iooss --- .travis.yml | 3 ++- libselinux/src/Makefile | 2 +- libsemanage/src/Makefile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6dce35165bd3..7d7424459344 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,8 @@ before_script: # Configure the variables for Python parts - export VIRTUAL_ENV="$HOME/virtualenv/$PYVER" - export PYTHON="$VIRTUAL_ENV/bin/python" - - export PYPREFIX="$($PYTHON -c 'import sys;print("python%d" % sys.version_info[0])')" + # Use the header files in /opt/python/... for Python because the virtualenvs do not provide Python.h + - export PKG_CONFIG_PATH="/opt/python/$($PYTHON -c 'import sys;print("%d.%d.%d" % sys.version_info[:3])')/lib/pkgconfig" # PyPy does not provide a config file for pkg-config nor a pypy-c.so - if echo "$PYVER" | grep -q pypy ; then export PYINC=-I$($PYTHON -c 'import sys;print(sys.prefix)')/include PYLIBS= ; fi # Python virtualenvs do not support "import site; print(site.getsitepackages()[0]" diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 5640a57d2768..a277b8715819 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -2,7 +2,7 @@ # runtimes (e.g. Python 2 vs Python 3) by optionally prefixing the build # targets with "PYPREFIX": PYTHON ?= python -PYPREFIX ?= $(notdir $(PYTHON)) +PYPREFIX ?= $(shell $(PYTHON) -c 'import sys;print("python-%d.%d" % sys.version_info[:2])') RUBY ?= ruby RUBYPREFIX ?= $(notdir $(RUBY)) PKG_CONFIG ?= pkg-config diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile index 92c829be234d..77f6efc86d2d 100644 --- a/libsemanage/src/Makefile +++ b/libsemanage/src/Makefile @@ -2,7 +2,7 @@ # runtimes (e.g. Python 2 vs Python 3) by optionally prefixing the build # targets with "PYPREFIX": PYTHON ?= python -PYPREFIX ?= $(notdir $(PYTHON)) +PYPREFIX ?= $(shell $(PYTHON) -c 'import sys;print("python-%d.%d" % sys.version_info[:2])') RUBY ?= ruby RUBYPREFIX ?= $(notdir $(RUBY)) PKG_CONFIG ?= pkg-config