diff options
Diffstat (limited to 'libpkgconf/buildfile')
-rw-r--r-- | libpkgconf/buildfile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libpkgconf/buildfile b/libpkgconf/buildfile index 7d0399d..e146d02 100644 --- a/libpkgconf/buildfile +++ b/libpkgconf/buildfile @@ -73,14 +73,13 @@ if ($c.target.class == "windows") c.poptions =+ "-I$out_root" "-I$src_root" -lib{pkgconf}: cc.export.poptions = "-I$src_root" +lib{pkgconf}: cc.export.poptions = "-I$src_root" +liba{pkgconf}: cc.export.poptions += -DPKGCONFIG_IS_STATIC -if ($c.target.class == "windows") - liba{pkgconf}: cc.export.poptions += -DPKGCONFIG_IS_STATIC -else - # The macro definition is moved from stdinc.h. See the corresponding comment - # there for more details. - # +# The macro definition is moved from stdinc.h. See the corresponding comment +# there for more details. +# +if ($c.target.class != "windows") obj{client fragment path pkg queue tuple}: c.poptions += -D_GNU_SOURCE # Install into the pkgconf/libpkgconf/ subdirectory of, say, /usr/include/. |