git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@468
67a159dc-881f-0410-a524-
ba9dfbe2cb84
# Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh:
+ Fixed up linking for dmraid for bug #157538.
+
13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> alpha/busy-config,
ia64/busy-config, parisc/busy-config, parisc64/busy-config,
ppc/busy-config, ppc64/busy-config, sparc/busy-config,
gen_die 'Configure of dmraid failed!'
#We dont necessarily have selinux installed yet .. look into selinux global support in the future.
- sed -i tools/Makefile -e "s|DMRAIDLIBS += -lselinux||g"
+ # sed -i tools/Makefile -e "s|DMRAIDLIBS += -lselinux||g"
+ echo "DMRAIDLIBS += -lselinux -lsepol" >> tools/Makefile
mkdir -p "${TEMP}/dmraid"
print_info 1 'dmraid: >> Compiling...'
compile_generic '' utils