From f96544ba7e8e63f97c2419dadcb4101272f5ec91 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Thu, 14 Jan 2021 23:57:26 +0100 Subject: [PATCH] Squashed 'pugl/' changes from 7fc8d9e4..9a38c762 9a38c762 Allow building static on GNU, too git-subtree-dir: pugl git-subtree-split: 9a38c7629614c8f2a29991e02a6d241c430e83b0 --- include/pugl/pugl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 41afc25..8a261c7 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -25,7 +25,7 @@ # define PUGL_API __declspec(dllexport) #elif defined(_WIN32) && !defined(PUGL_STATIC) # define PUGL_API __declspec(dllimport) -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(PUGL_STATIC) # define PUGL_API __attribute__((visibility("default"))) #else # define PUGL_API -- 2.38.5