libpkgconf: api: handle DLL_EXPORT libtool case on mingw (closes #141)
parent
24c1439d52
commit
67dd48a343
|
@ -8,7 +8,7 @@
|
||||||
#if defined(PKGCONFIG_IS_STATIC)
|
#if defined(PKGCONFIG_IS_STATIC)
|
||||||
# define PKGCONF_API
|
# define PKGCONF_API
|
||||||
#elif defined(_WIN32) || defined(_WIN64)
|
#elif defined(_WIN32) || defined(_WIN64)
|
||||||
# ifdef LIBPKGCONF_EXPORT
|
# if defined(LIBPKGCONF_EXPORT) || defined(DLL_EXPORT)
|
||||||
# define PKGCONF_API __declspec(dllexport)
|
# define PKGCONF_API __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
# define PKGCONF_API __declspec(dllimport)
|
# define PKGCONF_API __declspec(dllimport)
|
||||||
|
|
Loading…
Reference in New Issue