From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5F3EE13877A for ; Wed, 16 Jul 2014 18:14:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20793E0930; Wed, 16 Jul 2014 18:14:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B198E0930 for ; Wed, 16 Jul 2014 18:14:42 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5258F34000A for ; Wed, 16 Jul 2014 18:14:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id E404F1807D for ; Wed, 16 Jul 2014 18:14:39 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1405442299.4a1afa694cd8ebd6591d5a825ee35e4f57c98469.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: mk/ X-VCS-Repository: proj/openrc X-VCS-Files: mk/os-Linux.mk X-VCS-Directories: mk/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 4a1afa694cd8ebd6591d5a825ee35e4f57c98469 X-VCS-Branch: master Date: Wed, 16 Jul 2014 18:14:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ee313410-109e-4365-874b-e5abd42c092c X-Archives-Hash: dabf203b509996bab47fbbef518205d1 commit: 4a1afa694cd8ebd6591d5a825ee35e4f57c98469 Author: William Hubbs gmail com> AuthorDate: Tue Jul 15 16:38:02 2014 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Jul 15 16:38:19 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=4a1afa69 Add SELinux support to the build system X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956 --- mk/os-Linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk index 40d9c34..dc76b96 100644 --- a/mk/os-Linux.mk +++ b/mk/os-Linux.mk @@ -6,3 +6,9 @@ PKG_PREFIX?= /usr CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 LIBDL= -Wl,-Bdynamic -ldl + +ifeq (${MKSELINUX},yes) +CPPFLAGS+= -DHAVE_SELINUX +LIBSELINUX= -lselinux +LDADD += $(LIBSELINUX) +endif