diff options
author | Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr> | 2017-12-19 11:10:24 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-29 23:32:31 +0100 |
commit | 1c110d79560213b9245696059eafcc43f13ae147 (patch) | |
tree | 3f83610c4ef7d0d99009adf5d239cde0587a6257 /package/json-for-modern-cpp/json-for-modern-cpp.hash | |
parent | e416d5d9f4e5f6717db83926ec05a5ea0bada077 (diff) | |
download | buildroot-1c110d79560213b9245696059eafcc43f13ae147.tar.gz buildroot-1c110d79560213b9245696059eafcc43f13ae147.zip |
nginx: fix patch using pkg-config
The regular expression that drops the -I flag from the output of
pkg-config --cflags-only-I doesn't work properly as it is too naive:
it breaks a path if it contains -I:
$ echo "-I/usr/Some-Install-Location/include" | sed 's/-I//g'
/usr/Somenstall-Location/include
$ echo "-I/usr/Some-Install-Location/include" | sed -re 's/(^|\s)-I\s*(\S+)/\1\2/g'
/usr/Some-Install-Location/include
Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
[Thomas: improved commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/json-for-modern-cpp/json-for-modern-cpp.hash')
0 files changed, 0 insertions, 0 deletions