meson: Fix defining PKGCONF_API #174
|
@ -20,9 +20,9 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <libpkgconf/libpkgconf-api.h>
|
||||||
#include <libpkgconf/iter.h>
|
#include <libpkgconf/iter.h>
|
||||||
#include <libpkgconf/bsdstubs.h>
|
#include <libpkgconf/bsdstubs.h>
|
||||||
#include <libpkgconf/libpkgconf-api.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -70,6 +70,7 @@ libpkgconf = shared_library('pkgconf',
|
||||||
'libpkgconf/pkg.c',
|
'libpkgconf/pkg.c',
|
||||||
'libpkgconf/queue.c',
|
'libpkgconf/queue.c',
|
||||||
'libpkgconf/tuple.c',
|
'libpkgconf/tuple.c',
|
||||||
|
c_args: '-DLIBPKGCONF_EXPORT',
|
||||||
install : true,
|
install : true,
|
||||||
version : '3.0.0',
|
version : '3.0.0',
|
||||||
soversion : '3',
|
soversion : '3',
|
||||||
|
|
Loading…
Reference in New Issue