From 5239c6dcb05b50f82b8d857e15af0d355b610052 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Thu, 21 May 2020 00:54:01 +0400 Subject: [PATCH] [Build-System] Add a local pc file for use with out of tree mods built in tree. --- build/standalone_module/freeswitch.pc.in | 25 ++++++++++++++++++++++++ configure.ac | 1 + 2 files changed, 26 insertions(+) create mode 100644 build/standalone_module/freeswitch.pc.in diff --git a/build/standalone_module/freeswitch.pc.in b/build/standalone_module/freeswitch.pc.in new file mode 100644 index 0000000000..ee46359313 --- /dev/null +++ b/build/standalone_module/freeswitch.pc.in @@ -0,0 +1,25 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@switch_builddir@ +libexecdir=@libexecdir@ +includedir=@switch_srcdir@/src/include +modulesdir=@modulesdir@ +runtimedir=@runtimedir@ +logfiledir=@logfiledir@ +sysconfdir=@sysconfdir@ +confdir=@confdir@ +dbdir=@dbdir@ +htdocsdir=@htdocsdir@ +localstatedir=@localstatedir@ +grammardir=@grammardir@ +soundsdir=@soundsdir@ +scriptdir=@scriptdir@ +recordingsdir=@recordingsdir@ +bindir=@bindir@ + +Name: freeswitch +Version: @PACKAGE_VERSION@ +Description: FreeSWITCH open source telephony platform +Libs: -L${libdir} -lfreeswitch +Cflags: -I${includedir} -I@switch_builddir@/src/include -I@switch_srcdir@/libs/libteletone/src + diff --git a/configure.ac b/configure.ac index ba52b60566..13cea786fc 100644 --- a/configure.ac +++ b/configure.ac @@ -2033,6 +2033,7 @@ AC_CONFIG_FILES([Makefile build/getlib.sh build/getg729.sh build/freeswitch.pc + build/standalone_module/freeswitch.pc build/modmake.rules libs/esl/Makefile libs/esl/perl/Makefile