Skip to content
  • Thierry Reding's avatar
    meson: Properly extract ABI versions for xorg-server.pc · 4303deae
    Thierry Reding authored and Adam Jackson's avatar Adam Jackson committed
    
    
    The newline in the middle of the awk expression confuses Meson and
    causes it to pass only the string before the newline to awk, which will
    subsequently fail because it encounters an unterminated string.
    
    One fix would be to escape the newlines ('\\n'), but that causes the
    newline to end up in the pkg-config file and separate the ABI version
    lines by blank lines.
    
    Instead, simply drop the newlines to make the generated pkg-config file
    look more like the one generated as part of the autotools-based build.
    
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
    4303deae