]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build_tools/mkpkgconfig: Fix Cflags concatenation error in asterisk.pc
authorMatthew Jordan <mjordan@digium.com>
Wed, 14 Jan 2015 15:34:16 +0000 (15:34 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 14 Jan 2015 15:34:16 +0000 (15:34 +0000)
commit77dcac119ca856d8bb2d8f35284bec8f55b1a075
tree25ede6dfc01ba52bf2a0eb9f66725337ba905f68
parent2ecff992af29e06b4f2009072592350a73ee539b
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)

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