mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 17:04:36 +04:00
Merge pull request #749 from micmac1/rtpengine-host-perl
rtpengine: use perl/host when building
This commit is contained in:
@@ -29,7 +29,7 @@ PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
|
||||
# errors.
|
||||
PKG_BUILD_PARALLEL:=0
|
||||
|
||||
PKG_BUILD_DEPENDS:=gperf/host
|
||||
PKG_BUILD_DEPENDS:=gperf/host perl/host
|
||||
|
||||
# With below variable set, $(PKG_SYMVERS_DIR)/rtpengine.symvers gets generated
|
||||
# from kernel-module/Module.symvers.
|
||||
@@ -242,7 +242,9 @@ ifeq ($(QUILT),)
|
||||
cd "$(PKG_BUILD_DIR)" && \
|
||||
$(FIND) . -maxdepth 2 -name "*Makefile" | \
|
||||
xargs -I{} $(SED) \
|
||||
'/shell which dpkg-/s/dpkg/OpenWrt-has-no-dpkg/' {}
|
||||
'/shell which dpkg-/s/dpkg/OpenWrt-has-no-dpkg/' {} && \
|
||||
$(SED) 's|#!/usr/bin/perl|#!$(STAGING_DIR_HOSTPKG)/usr/bin/perl|' \
|
||||
utils/const_str_hash
|
||||
endif
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user