Merge pull request #100 from mer-hybris/includedir
packaging: Support new droid-devel header location.
This commit is contained in:
commit
7c8862acc4
1 changed files with 4 additions and 0 deletions
|
|
@ -45,7 +45,11 @@ This contains development files for PulseAudio droid modules.
|
|||
%build
|
||||
echo "%{moduleversion}" > .tarball-version
|
||||
# Obtain the DEVICE from the same source as used in /etc/os-release
|
||||
if [ -e "%{_includedir}/droid-devel/hw-release.vars" ]; then
|
||||
. %{_includedir}/droid-devel/hw-release.vars
|
||||
else
|
||||
. %{_libdir}/droid-devel/hw-release.vars
|
||||
fi
|
||||
%reconfigure --disable-static --with-droid-device=$MER_HA_DEVICE
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue