meson: Fix defining PKGCONF_API #174

Merged
TingPing merged 1 commits from meson-fix into master 2018-03-07 05:27:55 +00:00
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',