While building an O.S. Systems module that uses the PAM library this
problem has been found since the code was compiling fine in a lot of
different environments and failing on OE.
Checking the source has been noticed that upstream explicitely set
includedir in configure script but autotools class overrided it by
mistake. This fixes it to the desired behaviour.
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
# The project is actually called Linux-PAM but that gives
# a bad OE package name because of the upper case characters
inherit autotools
+# maintain the pam default layout
+EXTRA_OECONF += " --includedir=${includedir}/security"
+
# EXTRA_OECONF += " --enable-static-libpam"
# Disable building of the documentation - it requires too many different
# programs installed on the build system and is a waste of time. This
DEPENDS = "flex flex-native"
-PR = "r1"
+PR = "r2"
# The project is actually called Linux-PAM but that gives
# a bad OE package name because of the upper case characters
LEAD_SONAME = "libpam.so.*"
+# maintain the pam default layout
+EXTRA_OECONF += " --includedir=${includedir}/security"
+
python populate_packages_prepend () {
import os.path
do_stage() {
autotools_stage_all
}
-