build_tools/mkpkgconfig: Fix Cflags concatenation error in asterisk.pc
authorMatthew Jordan <mjordan@digium.com>
Wed, 14 Jan 2015 15:40:31 +0000 (15:40 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 14 Jan 2015 15:40:31 +0000 (15:40 +0000)
commit3eec8e4c4473b7b5fe41af71b61b264fef20d402
treed8c8709b7a407588187baa2f2bec9032969ed6a7
parent1780de95e45a74cbcd0b5f677292c8945a9b8448
build_tools/mkpkgconfig: Fix Cflags concatenation error in asterisk.pc

The mkpkgconfig script incorrectly concatenates Cflags options together. As an
example, the following:
Cflags: -I/usr/include/libxml2 -g3

Is instead generated as:
Cflags: -I/usr/include/libxml2-g3

This patch corrects the generation of Cflags in mkpkgconfig such that the
Cflags options are output correctly.

Review: https://reviewboard.asterisk.org/r/3707/

ASTERISK-23991 #close
Reported by: Diederik de Groot
patches:
  fix_mkpkgconfig.diff uploaded by Diederik de Groot (License 6600)
........

Merged revisions 430589 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 430590 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
build_tools/mkpkgconfig