Merge branch 'main' into 'main'

don't export unneeded symbols in libQt5Pas.so.1 and libQt6Pas.so.6

See merge request freepascal.org/lazarus/lazarus!410
This commit is contained in:
BZZZZ 2025-04-04 06:26:12 +00:00
commit 4b2733d772
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ TEMPLATE = lib
VPATH = src
MOC_DIR = tmp
OBJECTS_DIR = tmp
QMAKE_CXXFLAGS += -Wfatal-errors
QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility=hidden
# Match Intel x86_64 i686 i586 i386 x86 ...
is86 = $$find(QMAKE_HOST.arch, ".*86")

View File

@ -30,7 +30,7 @@
#if defined(__WIN32__)
#define C_EXPORT extern "C" __declspec( dllexport )
#else
#define C_EXPORT extern "C"
#define C_EXPORT extern "C" __attribute__(( visibility("default") ))
#endif
#ifdef __WIN32__

View File

@ -25,7 +25,7 @@ TEMPLATE = lib
VPATH = src
MOC_DIR = tmp
OBJECTS_DIR = tmp
QMAKE_CXXFLAGS += -Wfatal-errors
QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility=hidden
# Match Intel x86_64 i686 i586 i386 x86 ...
is86 = $$find(QMAKE_HOST.arch, ".*86")

View File

@ -29,7 +29,7 @@
#if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)
#define C_EXPORT extern "C" __declspec( dllexport )
#else
#define C_EXPORT extern "C"
#define C_EXPORT extern "C" __attribute__(( visibility("default") ))
#endif
#if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)