pkg-config
build pkg-config for Android

step1、install ndk-pkg

step2、update ndk-pkg-formula-repository

ndk-pkg update

step3、build and install pkg-config

ndk-pkg install pkg-config
view the formula of pkg-config
ndk-pkg formula view pkg-config

{{ formula }}
edit the formula of pkg-config

if the formula of pkg-config dosn't meet your needs, you can edit it ⤵︎

ndk-pkg formula edit pkg-config

after editing, you may want to rebuild this package ⤵︎

ndk-pkg install pkg-config