From patchwork Mon Nov 14 21:28:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9428475 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 59F626047D for ; Mon, 14 Nov 2016 21:41:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56FB7286C6 for ; Mon, 14 Nov 2016 21:41:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A34428AFC; Mon, 14 Nov 2016 21:41:51 +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 (emsm-gh1-uea10.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 526C5286C6 for ; Mon, 14 Nov 2016 21:41:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="923331" IronPort-PHdr: =?us-ascii?q?9a23=3AciprLBSRROiZwiZLPabTyR6a+9psv+yvbD5Q0YIu?= =?us-ascii?q?jvd0So/mwa68ZxGOt8tkgFKBZ4jH8fUM07OQ6PG7HzVYqs/d4TgrS99lb1c9k8?= =?us-ascii?q?IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBo?= =?us-ascii?q?KevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyowjdrNQajZdtJqosxRbE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ii?q?0i/jE0EpimDYbYRo22mLyOxj27HpxNZmBeDlCDC2vneJueV/cLciKSLddrkiYY?= =?us-ascii?q?Wri5V48hyRauuRf0y7p9NOXU/DEXtZP41NVu4u3TjRAy+SVvD8WTyGGBVWZ0nn?= =?us-ascii?q?kHRzUuxqBwvVR9ykuf0ah/m/FYFsZc5/BOUgcnLpPczPZ1C9P1WgLcZNuJT0ym?= =?us-ascii?q?Qtq+CzErUt0x28MOY1p6G9i6lB/MwjCqA74LmLyRH5E76L7T333rK8Z60XbG27?= =?us-ascii?q?Erj0M6TctXKW2mmql/+hDTB4HXl0WZk6GqeL8Y3C7Q6GeDym+Os1tCXA53S6XF?= =?us-ascii?q?UmgVZlHKotTh+kPCU7iuBKw8MgtP086CLbBKasHygFVdQvfjP9rfY2erlGe2Hx?= =?us-ascii?q?qIwK2DbJbycWUHwCrdEFQEkxwU/XueOwkxHCOho37AAzx0DlLieF3s/vdkqHyg?= =?us-ascii?q?U080yhuGb0p717q64hQVn+CTS+sP3rIYvycssyl0E0ug0NLXEdWAoxFsc7lbYd?= =?us-ascii?q?M4/FhIz3nZtxBnMpymMa9imkYUcx5rsEP2yxV3FoJAnNAsrHMryApyLbyX0Eha?= =?us-ascii?q?ejyCw5/wILrXJnP1/BC1ZK7cwkve38qO+qcT9PQ4rE3usxyzGUo+6XpozddV0n?= =?us-ascii?q?SH65rWDAodS4jxUlop+Bhgvb3aZDcy55/M3312Laa0qiPC284uBOY91BagfstQ?= =?us-ascii?q?ML+DFA/oCcEVG8iuKOssm1imdR8EOOFS9KguMMO8cPuKwqmrPPxvnDi+l2RI/J?= =?us-ascii?q?h90l6Q9yp7UuPI25cFw+qE3geeTDfzklOhssHxmYBZajAfBXG/yTDlBI5XZ619?= =?us-ascii?q?YZ0LBX2oI8Kp2tV0n4TtVGJA9F6/G1MG39ekeQCVb1z52Q1fy14XrmCgmSq21D?= =?us-ascii?q?F0iCwpobaE3CDUxOTibhUHMHZRRGZ+lVfsPZS0j9cCUUiwdQcpiR+l6VzgyKRB?= =?us-ascii?q?v6t/KG3TQVtPfyjwNGxiV7e8tryFY8FT8p8otztYUPika1CAVrH9uwca0z/kH2?= =?us-ascii?q?ZGwTA7cyimtYv/nxFhlmKSMnJzrH7HdsFq3xvf4sLTReJJ1DocWCZ4kSXXBkS7?= =?us-ascii?q?P9Sx/tWbiZHDsvulWmKiSJJTdzLrzYWeuyun/2FqBge/n/+rkN39DQc6yTP718?= =?us-ascii?q?VtVSjQshb8ZJTk2r+kMeJhY0ZoBEXw68xkFYFiioEwno0f2WAGhpWJ+noKiX/z?= =?us-ascii?q?Ps9G2aL6d3cCWT8Lw8LV4QT81k1sNHSJy5j+VnWHzctrf8O6bX8O2iIh88BKD7?= =?us-ascii?q?+Z7KZZkiRouVe4ogfRYPdnkjcb1/Qu9GYQg/sVtwo10iWdHrcSEFFAPSP2ihSI?= =?us-ascii?q?686xrL1Na2apbbi/ylB+kMu8DLGZvA5cQm35do05HS9388V/Kk7D32P96oHjYt?= =?us-ascii?q?nQYswcugeSkxjek+hfMIgxmeYShSp7JWL9umUoy+AhghxowZG6u42HJn5j/K2n?= =?us-ascii?q?HxFYMSf1aNkL+jH3iqZenNiZ0JyzHpl7HTULRpToR+qyED0OrfTnKxqOEDokp3?= =?us-ascii?q?eUGbrQARWf6Ud+r3LTFJCmLHeXK2cFzdV5WBaSPlRfjx4OUDU8gJE5ChigxNb9?= =?us-ascii?q?f0dh+jAR+ln4pwNJyu1yMxn/VnnQpBu0ajguUpeSNxxW4R9e50fOLcOR9PpzED?= =?us-ascii?q?9C8p2nsgONNnSRZx5UAmERRkyEG1fjM6G05dXa/emUHO++IOHKYbWJqe1TTO2H?= =?us-ascii?q?yo6q0od8+DaMLMqPNGF4D/InwkpDQWx5G8PBljUJUSwYjTrNb9aAqRey+y13tN?= =?us-ascii?q?u/8OjlWALu44uAEb1SPslu+x+shaePLemQhDx2KTxAzJMD2WfIyKQD3F4Vkyxu?= =?us-ascii?q?byeiHq8eui7LTaLQhqhXAgUaayxtKsRH8bgw3g5XOc7Uktn1zKJ3juYpC1dZUl?= =?us-ascii?q?zsgtymZdcULG6nO1PHHlyENKqdKD3Q2c73Yr68SadKg+lOsx2wpDCbHFX5Pjia?= =?us-ascii?q?iznpUBOvMOFLjC2BOhxRpp29eA53CWf/VNLmdgG7MNhvgD0t27I0mGnFNWECPj?= =?us-ascii?q?hnaE5Ntaef7T1CjfVwBWNB9WBpLe+alCaF9+PYMIoZseN3AiRokOJX+G81y7pa?= =?us-ascii?q?7CFDQvx4gzbdocB1rFGniOaPzCBrUB1UqjZEnIiLp1ltOb3F9plcXnbJ5AgC7W?= =?us-ascii?q?qKBBQUudRoEdrvu7hOxdjJkaL8MjZC89bP8ssbCMnYMsWHMGAuMRDxAj7bEBMF?= =?us-ascii?q?TSK3NWHYn0FdjPaS9niPopggrZjtmYQBSrlAW1wvEfMVFEdlEcceL5dwWzMrja?= =?us-ascii?q?SUjNUU5XakqhneWtlatIjdVv2OGfXvNCqZjb5cahsLwbL4KZocO5b+20xlZFl6?= =?us-ascii?q?kprFG1bMXdBNpS1haxE7rF9L8HdgUm05w1jlZR+14H8PCf60mQY7igp4YeQx6j?= =?us-ascii?q?js50k4Jl/Uqyssikkwmc7ogTeJcDHvKqewWJtZCyvwt0cqNZP6TBx5bQqonUxr?= =?us-ascii?q?LD3EXa5ej6N8dWB3jw/RoZ1PFuBGQq1AexIQxvaXZ+400VtGrCWn3kxH5erfBZ?= =?us-ascii?q?tkigQqbYamr2hc1AJ7cN41OavQKbJTzldOnaKBoDWn1votzw8ePEsC62KSeDQV?= =?us-ascii?q?t0wPOLkmPzCo8fJs6ACYnTtMZnQMXeIwov127kM9J/iAzyX43rFeLUCxMeqfIL?= =?us-ascii?q?6HtGjElM6FWUk/2V0Sl0lC57R21t0jc0WMXUA10LSRDwgJNdbFKQxNcsVd7mbT?= =?us-ascii?q?fSeTvuXW2p96JZ+9FvrvTe6Ar6YbnF6rHBszH4QN8sQAHoOg0EfGIsf7NLQF0w?= =?us-ascii?q?ki5Bz3JFWZC/REYByLkC0ZrM6i1594x49dJi0aAWVmKii4/KrYpgowjPqERtc2?= =?us-ascii?q?bW8QXpEYOXIuRM26hylZsmxEDDmwyOIW1g6C7j77pinLAzn8acdjaO2TZRN2B9?= =?us-ascii?q?G84S8//LSuiV7L7pXeIHn3Nc98td/L6OMaoYuHCvxPQLZhtEfcnpVXSGaxU27T?= =?us-ascii?q?C9K1IYb/a5U0Z9zuFnm6SkC/iy4yT8rpP9atNKiJjhvuRYZIsImWxz8jNcilFj?= =?us-ascii?q?4CARtwof8M5L5kbw0Zf5U7eQLotxg5N6GnPAeY09CuQ2GxKTtWT/hS1vi1Z71X?= =?us-ascii?q?ziU2deC20n0gQY8mz+Ov604CWIkKjg3Cxfakf4ReUS/zFWJTewrRvyo0jGlhOf?= =?us-ascii?q?gszegh2h/ItkMcMz+TfuxzdGNEp808BU+VIXhuEGU4Q16cgpbd7QG02rAT/y1d?= =?us-ascii?q?n9FS0eJfq3XxpZ7fbyiqWKCyp5XVrjAsbd44rK1tKYbjONeJtIvCnjzDS5ndqh?= =?us-ascii?q?aKXzC8F/dBgNdfPTxYT+dSmWE+I8MGo4pA5VA2VsckKLxFELMsqayyaTp4ES4S?= =?us-ascii?q?yjcUV4yd3DwDhue836XVlhKLfZs/LhMLq5RCjcEbUyJsZSMevqCjXZ3Ml2CYUm?= =?us-ascii?q?gLPBsT7QNU6QIakI9wf/zq4IrPTJ9I0D5Yu+t6XDbRGJR08FX2UX2ZgV/9SPq9?= =?us-ascii?q?ieOpxh5SwOjq0tYFRB51EVJdyPpOlks0NLF3LLEdsZLIsjCSaUz3p37iyOyiJF?= =?us-ascii?q?lVyM3baUf4DJbbumXgUi0Q43oURZVAyHvHD5QdjxJ5aLo3pFVLOI2mYFzx5yYj?= =?us-ascii?q?x4tyBLS4SdqryEw7rXkYQyeqEtxBC+5isFLWVz1lY4yrqJv/NJVIR29c4pudpE?= =?us-ascii?q?lFkE91KS621YJcK91R4j4LRDVOoS+SvMCoR81G2M92CYQBItZju3jnA6NLJIKe?= =?us-ascii?q?r2cwurPx1n/T4yo8v0uixDWvB6+4SPpU/mMEFgo1J2Seq0wvD+o2/WfR6V3Ns0?= =?us-ascii?q?578PlFCbSVikVxujl9FIhUBjlVzXClM0hzTH5evupAMqTVbspcT+MxZRK0Ohw+?= =?us-ascii?q?FP8m31CS8k1um3f2fTByvBNA+y/BRwk0STUVgrD1lD0RsMGoIzkaS45TYDUgaC?= =?us-ascii?q?fEJQSbmTxXvBlBakFqXYwZDchf+70B24tb4NbCQ162KS4ZRBxiKh440f1HmE5f?= =?us-ascii?q?t0WYfDvQDRa0efbKqRJ7Z8GRo9C1LP7h5gdIlpvnsPwk96UEX3CmmReiQcrEoI?= =?us-ascii?q?/4q9KHrVaBe7ngM+2kf3DBSCbDjQqqibcjFZnK8DDZMBBHJJli1XokfZ/hBHbJ?= =?us-ascii?q?PRRBOa0WPFdUWr5hadpYuOBae9Frd7sT9a9rGB2HWgvlGJazo/leMlbTWTPeIj?= =?us-ascii?q?2a/eyxvY3f8b7QRfXua8GX23nHRKd3MYtg5jngB7fmy4le9VTq2v117EN1VUDG?= =?us-ascii?q?MzydrNTmPg4L/teteVbivpIzATPbG5NwkH3zxk5eacYYXyqq/4kGx59D7nb/V/?= =?us-ascii?q?542FDpsOJO77lk9ZU347dxxMesPqfSNe5VvlJ7AhWPHQVq8YgtAHJjSG9PZO8R?= =?us-ascii?q?NO3Rcr4djcz0rOD3DaMX4gWP++NFcdvHO13Bms6nBzGAUxxLghkOpiMBIwuB0/?= =?us-ascii?q?6Fh7V0Rty7pej43UIt50axLgIcwLBq/4eE9bKCpPXLYBvJ0bgERq/qS9vuobQq?= =?us-ascii?q?oUyf/uArlLgUdWBvZA2nCucdXNYHxmj81aAq0T4sE8TbErLi4vFDTXU5ninkm5?= =?us-ascii?q?9nAVUbAfYUHaeP/YRCn2c3h+3ZOccQcqBZgGqPEgSkErAaw36x9ySXOHVlgg3J?= =?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n8IPXIr?= =?us-ascii?q?cfwO413DJ6pyw3qz6dD11Yjg2Z8qfdH7lxxqNc6mki/vF3X0aPQzXFfmjB1IWm?= =?us-ascii?q?F9pFxT1yrnD8y8rUoudtOaNYp4F+BlcKBTl7JtXD8j9cX2H03xGysAqlEziEJj?= =?us-ascii?q?IW/ioLdmQ5cbNuwut6tgvYXsrQ4kOX8aQ6oQ2kDhjYJKCz3cltC8ru0QyjIQhM?= =?us-ascii?q?di6wX8Rwq/1KkN8JJ6IgYpOlK1WdPk75FA3O6HNEzwTjvrn+VZkC+W4ZiKh5bY?= =?us-ascii?q?ixUg=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2E/DgDfLipY/wHyM5BeHQEFAQsBGAEFAQsBgwYBAQEBAR9?= =?us-ascii?q?YgQCmSwGUXCQDgXiGMlMBAQEBAQEBAQIBAl8ogjMafls8AgQBAjcUIA4DCQEBF?= =?us-ascii?q?ykICAMBLRURDgsFGASIQAQBsiwqAoNmh3SGPIYpgksRAYV9AQSaQYFvhE2DDoc?= =?us-ascii?q?IgkmHWIYKkU5VWg04hRtxhU+CLQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 14 Nov 2016 21:41:43 +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 uAELdUvN026274; Mon, 14 Nov 2016 16:39:31 -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 uAELTC4v097864 for ; Mon, 14 Nov 2016 16:29:12 -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 uAELT8As025304 for ; Mon, 14 Nov 2016 16:29:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C8AAARLCpYhyIeaIFeHQEFAQsBgzEBAQEBAXeBALcZhC4IiCpTAQIBAQEBAQITAQEBCgsJCR2FEgaBCVFXGYhhBAGyJ4QSh3SGPIYpiFoFmkGBb4RNgw6HCIJJjWKRToE8gwcMgkBxh3wBAQE X-IPAS-Result: A1C8AAARLCpYhyIeaIFeHQEFAQsBgzEBAQEBAXeBALcZhC4IiCpTAQIBAQEBAQITAQEBCgsJCR2FEgaBCVFXGYhhBAGyJ4QSh3SGPIYpiFoFmkGBb4RNgw6HCIJJjWKRToE8gwcMgkBxh3wBAQE X-IronPort-AV: E=Sophos;i="5.31,640,1473134400"; d="scan'208";a="5823123" 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:13 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3A3+FlDR3BudRbu44usmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?se0fKfad9pjvdHbS+e9qxAeQG96KsLQd06GP7/6ocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDSwbalvIBmqogndq8YbjIp/Iast1xXFpWdFdf?= =?us-ascii?q?5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALM?= =?us-ascii?q?TRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTljj?= =?us-ascii?q?oMOTwk/2HNksF+jLxVrg+vqRJ8xIDbYo+VOeFicq/BZ94WWXBMUtpNWyFHH4iy?= =?us-ascii?q?b5EPD+0EPetAt4f9pkcBrRy6BQa2H+Pk1zxGhnjx3a0hyOQqDAbL3AohH90St3?= =?us-ascii?q?TUqM/6NLwIXeC0y6nIyi7Db+hN1Df454XJfQotofaWXbJ/aMfcz1QkGQDdjliI?= =?us-ascii?q?tIDpITeY2v4Qv2SH4OdsT+yih3I9pwx/rTWj3sQhhpTTio8Uy13I7zh1zJgpKd?= =?us-ascii?q?GiVkJ3fdypHZ1NvC+ALYR2WNktQ2RwtSY61LIGvZm7cTAPyJUo2hLTceSHc4+M?= =?us-ascii?q?4hPjSOaePyt3hHJjeLK+nhay7Favxvf7Vsmu31ZGtitFkt/SuXARzxHf99aLR/?= =?us-ascii?q?9n8ku8xTqC2Brf5+9YLUwum6fWJIYtwrsqmZoStUTDEDX2mELzjKKOa0sq5vWm?= =?us-ascii?q?5/j/b7X7qZKRNIB7hxn+PaksgsG/BOs1MwcUU2ic4+S826Xu/Uv4QLpWif02lr?= =?us-ascii?q?PWsIvAKcQaoa65BBRV0p045hmkCDemzdIYkmUZI1JeYh6HiofkOl7ULPD/F/e/?= =?us-ascii?q?jEygkC13yPDeIr3hHpLNI2DYkLj/ebZ96khcyBc8zN1E+5JVCq0OIPL0WkPrst?= =?us-ascii?q?zYFQU2Pxa7w+bgFtUunr8ZDHmCBq6fLbP6rU6D5uVpJfKFIoASpmXTMf8gstjv?= =?us-ascii?q?hng9kERVXK6uxoBfPHa5FfNiKl7fYH3rmcwpFDsa+A0kQ7q52xW5TTdPaiPqDO?= =?us-ascii?q?oH7TYhBdf+AA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EdAgBdKypYhyIeaIFeHQEFAQsBGAEFA?= =?us-ascii?q?QsBgwYBAQEBAXeBAKZMkE2ELgiBeIYyUwEBAQEBAQEBAgECEAEBAQoLCQkdMII?= =?us-ascii?q?zGIEAWzwGgQlRVxmIYQQBsiWEEod0hjyGKYhaBZpBgW+ETYMOhwiCSY1ikU6BP?= =?us-ascii?q?IMHDIJAcYd8AQEB?= X-IPAS-Result: =?us-ascii?q?A0EdAgBdKypYhyIeaIFeHQEFAQsBGAEFAQsBgwYBAQEBAXe?= =?us-ascii?q?BAKZMkE2ELgiBeIYyUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIEAWzwGgQlRV?= =?us-ascii?q?xmIYQQBsiWEEod0hjyGKYhaBZpBgW+ETYMOhwiCSY1ikU6BPIMHDIJAcYd8AQE?= =?us-ascii?q?B?= X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="749243" 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:11 +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 5E122564861 for ; Mon, 14 Nov 2016 22:29:10 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 4/4] libselinux, libsemanage: link Python wrapper with Python Date: Mon, 14 Nov 2016 22:28:17 +0100 Message-Id: <20161114212817.15781-4-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161114212817.15781-1-nicolas.iooss@m4x.org> References: <20161114212817.15781-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Nov 14 22:29:10 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 When linking with -Wl,-no-undefined in LDFLAGS (in order to find possible link-time errors), the Python wrapper module needs to be linked with the right libpython.so. This library is found using pkg-config in a new PYLIBS variable. Signed-off-by: Nicolas Iooss --- libselinux/src/Makefile | 5 +++-- libsemanage/src/Makefile | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 82a1010af2d8..928cc049cedb 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -13,6 +13,7 @@ LIBDIR ?= $(PREFIX)/lib SHLIBDIR ?= $(DESTDIR)/lib INCLUDEDIR ?= $(PREFIX)/include PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) +PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) PYSITEDIR ?= $(DESTDIR)$(shell $(PYTHON) -c 'import site; print(site.getsitepackages()[0])') RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -lruby"') @@ -131,7 +132,7 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT) $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $< $(SWIGSO): $(SWIGLOBJ) - $(CC) $(CFLAGS) -shared -o $@ $< -L. -lselinux $(LDFLAGS) -L$(LIBDIR) + $(CC) $(CFLAGS) -shared -o $@ $< -L. -lselinux $(LDFLAGS) $(PYLIBS) -L$(LIBDIR) $(SWIGRUBYSO): $(SWIGRUBYLOBJ) $(CC) $(CFLAGS) -shared -o $@ $^ -L. -lselinux $(LDFLAGS) $(RUBYLIBS) -L$(LIBDIR) @@ -154,7 +155,7 @@ $(AUDIT2WHYLOBJ): audit2why.c $(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $< $(AUDIT2WHYSO): $(AUDIT2WHYLOBJ) - $(CC) $(CFLAGS) -shared -o $@ $^ -L. $(LDFLAGS) -lselinux $(LIBSEPOLA) -L$(LIBDIR) + $(CC) $(CFLAGS) -shared -o $@ $^ -L. $(LDFLAGS) -lselinux $(LIBSEPOLA) $(PYLIBS) -L$(LIBDIR) %.o: %.c policy.h $(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $< diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile index 5c7bc6c6ea65..5176582f654d 100644 --- a/libsemanage/src/Makefile +++ b/libsemanage/src/Makefile @@ -13,6 +13,7 @@ LIBDIR ?= $(PREFIX)/lib SHLIBDIR ?= $(DESTDIR)/lib INCLUDEDIR ?= $(PREFIX)/include PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) +PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) PYSITEDIR ?= $(DESTDIR)$(shell $(PYTHON) -c 'import site; print(site.getsitepackages()[0])') RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -lruby"') @@ -79,7 +80,7 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT) $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $< $(SWIGSO): $(SWIGLOBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage -L$(LIBDIR) + $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage $(PYLIBS) -L$(LIBDIR) $(SWIGRUBYSO): $(SWIGRUBYLOBJ) $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage $(RUBYLIBS) -L$(LIBDIR)