---
name: "libpng10-config"
section: "1"
platform: "linux"
package: "libpng10-dev"
version: "1.0.18-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/libpng10-config"
---

# libpng10-config(1)

Get command-line flags for building stuff using libpng

## NAME

libpng10-config - Get command-line flags for building stuff using libpng

## SYNOPSIS

**libpng-config** \[*OPTION*\] ...

## DESCRIPTION

**libpng10-config** gives information about how *libpng* is configured on your system, giving necessary command line options to build your applications.

Known values for OPTION are:

- **--prefix**

  print libpng prefix

- **--libdir**

  print path to directory containing library

- **--libs**

  print library linking information

- **--ccopts**

  print compiler options

- **--cppflags**

  print pre-processor flags

- **--cflags**

  print preprocessor flags, I\_opts, and compiler options

- **--I\_opts**

  print "-I" include options

- **--L\_opts**

  print linker "-L" flags for dynamic linking

- **--R\_opts**

  print dynamic linker "-R" or "-rpath" flags

- **--ldopts**

  print linker options

- **--ldflags**

  print linker flags (ldopts, L\_opts, R\_opts, and libs)

- **--static**

  revise subsequent outputs for static linking

- **--help**

  print this help and exit

- **--version**

  print version information

## AUTHOR

This manpage has been written because the original program doesn't have a manpage, by Josselin Mouette \<joss@debian.org\> for the Debian GNU/Linux system, with the help of help2man, but may be used as well by others.

The libpng software was written by Glenn Randers-Pehrson \<glennrp@comcast.net\>.
