Fix so only explicitly specified symbols are exported (patch fix-exported-symbols.patch)
This commit is contained in:
parent
c412c59490
commit
541e8e0ba4
2 changed files with 5 additions and 1 deletions
|
@ -137,6 +137,10 @@ ADD_LIBRARY(${telldus-gui_TARGET} SHARED
|
|||
${telldus-gui_QM}
|
||||
)
|
||||
|
||||
IF (UNIX)
|
||||
SET_TARGET_PROPERTIES( ${telldus-gui_TARGET} PROPERTIES COMPILE_FLAGS "-fPIC -fvisibility=hidden")
|
||||
ENDIF (UNIX)
|
||||
|
||||
TARGET_LINK_LIBRARIES( ${telldus-gui_TARGET} ${telldus-gui_LIBRARIES} )
|
||||
|
||||
SET_PROPERTY(TARGET ${telldus-gui_TARGET}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define WINAPI __stdcall
|
||||
#else
|
||||
#define WINAPI
|
||||
#define TELLDUSGUI_API
|
||||
#define TELLDUSGUI_API __attribute__ ((visibility("default")))
|
||||
#endif
|
||||
|
||||
class QWidget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue