libnet-config(1)

libnet-config1

Get information about a libnet installation

Usage

libnet-config [options]

Overview

libnet-config displays information about a previous libnet installation.

Options

--cflags

Set of compiler options (CFLAGS) to use when compiling files that use libnet.

--libs

Shows the complete set of libs and other linker options you will need in order to link your application with libnet.

--defines

Set of compiler defines used to compile libnet.

Examples

What linker options do I need when I link with libnet?

libnet-config --libs

What compiler options do I need when I compile using libnet functions?

libnet-config --cflags

Releases

13 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–5.0
  2. 6.0–Arch

Author

This manual page was written by Domenico Andreoli <[email protected]> for the Debian GNU/Linux system (but may be used by others).

From libnet 2:1.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.