fix Windows static build
This commit is contained in:
parent
8c860855ae
commit
7721aab48b
3 changed files with 11 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
|||
#define LIBRAGEPHOTO_GLOBAL_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef LIBRAGEPHOTO_STATIC
|
||||
#ifdef LIBRAGEPHOTO_LIBRARY
|
||||
#define LIBRAGEPHOTO_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
|
@ -28,5 +29,8 @@
|
|||
#else
|
||||
#define LIBRAGEPHOTO_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
#else
|
||||
#define LIBRAGEPHOTO_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif // LIBRAGEPHOTO_GLOBAL_H
|
||||
|
|
|
@ -6,4 +6,4 @@ Name: libragephoto
|
|||
Description: Open Source RAGE Photo Parser for GTA V
|
||||
Version: @PROJECT_VERSION@
|
||||
Libs: -L${libdir} -lragephoto
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir} @LIBRAGEPHOTO_LIBTYPE@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue