mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 04:20:04 +01:00
man: Put valid make syntax in the example
Use backquotes for substitution in the Makefile example as using the $() form of command substitution would actually use make's variable substitution and fail. Thanks to joerg.strebel@gmail.com for the report. https://bugs.freedesktop.org/show_bug.cgi?id=98011
This commit is contained in:
parent
3b96e7434c
commit
7f4afa0214
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ scenario in a Makefile:
|
|||
.PP
|
||||
.nf
|
||||
program: program.c
|
||||
cc program.c $(pkg-config --cflags --libs gnomeui)
|
||||
cc program.c `pkg-config --cflags --libs gnomeui`
|
||||
.fi
|
||||
.PP
|
||||
.I pkg-config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue