Merge pull request #562 from micmac1/fs-misc

freeswitch: small fixes
This commit is contained in:
micmac1 2020-09-01 19:20:13 +02:00 committed by GitHub
commit 5eb2c8af2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -360,6 +360,9 @@ define Package/freeswitch/Default
URL:=https://www.freeswitch.org
endef
# Note: shadow deps are a bit strange; you need to select shadow-utils
# package first for shadow-su to be selected, even though the
# shadow-utils package later becomes a no-op.
define Package/freeswitch
$(call Package/freeswitch/Default)
TITLE:=Open source telephony platform, v$(PKG_VERSION)
@ -368,6 +371,7 @@ $(call Package/freeswitch/Default)
DEPENDS:= \
$(CXX_DEPENDS) \
$(ICONV_DEPENDS) \
+!BUSYBOX_DEFAULT_SU:shadow-utils \
+!BUSYBOX_DEFAULT_SU:shadow-su \
+@OPENSSL_WITH_DEPRECATED \
+FS_WITH_FREETYPE:libfreetype \

View file

@ -0,0 +1,13 @@
--- a/build/freeswitch.pc.in
+++ b/build/freeswitch.pc.in
@@ -1,8 +1,8 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@
+libdir=${exec_prefix}/lib
libexecdir=@libexecdir@
-includedir=@includedir@
+includedir=${prefix}/include/freeswitch
modulesdir=@modulesdir@
runtimedir=@runtimedir@
logfiledir=@logfiledir@