From: joe miller Date: Sat, 15 Aug 2020 00:07:30 +0000 (-0700) Subject: remove build dependency on which X-Git-Tag: 3.0.20210707~19^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27cac8ea5af4342056ad7cece8b6bcad212a0755;p=platform%2Fupstream%2Fnsjail.git remove build dependency on which --- diff --git a/Makefile b/Makefile index ef66d9c..9494732 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -PKG_CONFIG=$(shell which pkg-config) +PKG_CONFIG=$(shell command -v pkg-config 2> /dev/null) ifeq ($(PKG_CONFIG),) $(error "Install pkg-config to make it work") endif