LoginSignup
0
0

More than 3 years have passed since last update.

pkg-configのパッケージ名の取得

Posted at

pkg-configコマンドで、指定できるパッケージ名が分からないとの質問がきたので、パッケージ名の取得方法を記事にしておきます。

pkg-configコマンドで、簡単にパッケージ名の一覧が取得できます。

pkg-config --list-package-names

pkg-configの情報を全部、取得したい場合は、--list-allで取得できます。

pkg-config --list-all

何故か? 二回づつ出てくる!?
多分、--cflags--libsの2回分だと思う。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0