MinGwEnvironment: pkg-config.sh

File pkg-config.sh, 124 bytes (added by ath, 2 years ago)

Workaround for a MSYS command substitution bug

Line 
1#!/bin/sh
2if pkg-config "$@" > /dev/null 2>&1 ; then
3    res=true
4else
5    res=false
6fi
7pkg-config "$@" | tr -d \\r && $res