mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 11:38:04 +02:00
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:
commit
4b2733d772
@ -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")
|
||||
|
@ -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__
|
||||
|
@ -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")
|
||||
|
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user