Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@ else()
src/emu_launcher_stubs.c)
endif()
add_dependencies(cardputer-emu lvgl lvgl_thorvg)
# Export all symbols so dlopen'd apps can resolve LVGL functions
if(APPLE)
# Export all symbols so dlopen'd apps can resolve LVGL functions.
# On Linux this adds -rdynamic so the whole-archive'd LVGL symbols land in
# .dynsym (otherwise dlopen of libAPPLaunch fails: undefined symbol lv_*).
if(APPLE OR (UNIX AND NOT APPLE))
set_target_properties(cardputer-emu PROPERTIES ENABLE_EXPORTS ON)
endif()

Expand Down