meson: Fix defining PKGCONF_API (#174)

feature/tap-sh
TingPing 2018-03-07 05:27:54 +00:00 committed by William Pitcock
parent b0796cffa3
commit 83eea876b0
2 changed files with 2 additions and 1 deletions

View File

@ -20,9 +20,9 @@
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
#include <libpkgconf/libpkgconf-api.h>
#include <libpkgconf/iter.h>
#include <libpkgconf/bsdstubs.h>
#include <libpkgconf/libpkgconf-api.h>
#ifdef __cplusplus
extern "C" {

View File

@ -70,6 +70,7 @@ libpkgconf = shared_library('pkgconf',
'libpkgconf/pkg.c',
'libpkgconf/queue.c',
'libpkgconf/tuple.c',
c_args: '-DLIBPKGCONF_EXPORT',
install : true,
version : '3.0.0',
soversion : '3',