openobex: fix cross compile
This commit is contained in:
parent
26682d2b86
commit
e547b2fcae
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'openobex'
|
||||
pkgname=openobex
|
||||
version=1.7.1
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc="${pkgname}-${version}-Source"
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config cmake libxslt docbook-xsl"
|
||||
|
@ -16,6 +16,7 @@ checksum=3b264665d90901ea4ff720332ffb9b6d1d8f67187463d3a3279caddc7205ea57
|
|||
|
||||
pre_configure() {
|
||||
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' udev/openobex.rules.in
|
||||
sed -i 's|^project ( openobex \(C.*\) )|project ( openobex \1 CXX )|' CMakeLists.txt
|
||||
}
|
||||
|
||||
openobex-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue