summaryrefslogtreecommitdiff
path: root/libnl-tiny.pc.in
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2014-07-10 22:22:31 +0200
committerrofl0r <retnyg@gmx.net>2014-07-10 22:22:34 +0200
commit0461ceca9873d16191c3645c0ae7109beb229e28 (patch)
tree0654ec3faaf5ca8fbdfb4ac58fa7f7ab794cf450 /libnl-tiny.pc.in
parentbcc3e0cdc9696f79797e2fcc94ff37cae670a36c (diff)
downloadlibnl-tiny-0461ceca9873d16191c3645c0ae7109beb229e28.tar.gz
pkg-config file: force _GNU_SOURCE
it's required that this is passed on the command line, otherwise apps including <sys/socket.h> before including a netlink header will not see the definition of struct ucred in musl.
Diffstat (limited to 'libnl-tiny.pc.in')
-rw-r--r--libnl-tiny.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnl-tiny.pc.in b/libnl-tiny.pc.in
index cee2911..541f1fd 100644
--- a/libnl-tiny.pc.in
+++ b/libnl-tiny.pc.in
@@ -7,4 +7,4 @@ Name: libnl-tiny
Description: Convenience library for netlink sockets
Version: 2.0
Libs: -L${libdir} -lnl-tiny
-Cflags: -I${includedir}
+Cflags: -I${includedir} -D_GNU_SOURCE