anchor.diff:  EXTRA_OEMAKE += "LDFLAGS='${LDFLAGS} -lpcre'"
   
   do_compile() {
  -	oe_runmake all \
  -	    INCLUDEDIR="${STAGING_INCDIR}" \
  -	    LIBDIR="${STAGING_LIBDIR}"
  +	oe_runmake all LIBDIR="${STAGING_LIBDIR}"
   
   	oe_runmake pywrap -j1 \
   	    INCLUDEDIR="${STAGING_INCDIR}" \
  
positive.code: 
  HOMEPAGE =  "http://packages.debian.org/source/sid/libs/libselinux"
  
  PR = "r1"
  
  inherit debian-package lib_package pythonnative
  
  
negative.code: 
  DEPENDS += "libsepol libpcre swig-native python"
  
  # EXTRA_OEMAKE is typically: -e MAKEFLAGS=
  # "MAKEFLAGS= " causes problems as ENV variables will not pass to subdirs, so
  # we redefine EXTRA_OEMAKE here
  EXTRA_OEMAKE = "-e"
  
  def get_policyconfigarch(d):
      import re
      target = d.getVar('TARGET_ARCH', True)
  