Skip to content

Commit

Permalink
provide an example for using pkg-config or *-config scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
novas0x2a committed Apr 23, 2009
1 parent 2b58df1 commit 8eab614
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config.options.example
Expand Up @@ -69,3 +69,19 @@
# directories by seperating them with whitespace.

# PKG_PATHS="/foo/bar"

### Using pkg-config or *-config
#
# The only upstream-supported method of detecting some libraries is through the
# (new-style) pkg-config or (old-style) *-config (ex: gdal-config) scripts.
#
# Our build system doesn't support this directly yet, but this is the way we
# support using them:
#
# PKG_GDAL_CPPFLAGS=$(gdal-config --cflags)
# PKG_GDAL_LIBS=$(gdal-config --libs)
#
# or
#
# PKG_PNG_CPPFLAGS=$(pkg-config --cflags libpng)
# PKG_PNG_LIBS=$(pkg-config --libs libpng)

0 comments on commit 8eab614

Please sign in to comment.