Skip to content

Commit d882736

Browse files
committed
fix copy lib RemoteObjects
1 parent 4d28f81 commit d882736

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- 'cmake/recipes_bootstrap.cmake'
2929
3030
Bake-Prebuilts-Linux:
31-
runs-on: ubuntu-latest
31+
runs-on: ubuntu-22.04
3232
needs: Detect-Changes
3333
if: needs.Detect-Changes.outputs.recipes_changed == 'true'
3434

@@ -63,7 +63,7 @@ jobs:
6363
# ------------------------------------------------------
6464

6565
Build-Linux-Ubuntu:
66-
runs-on: android-runner
66+
runs-on: ubuntu-22.04
6767

6868
needs: Bake-Prebuilts-Linux
6969
if: ${{ always() }}

client/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ endif()
174174
if(LINUX AND NOT ANDROID)
175175
set(LIBS ${LIBS} -static-libstdc++ -static-libgcc -ldl)
176176
link_directories(${CMAKE_CURRENT_LIST_DIR}/platforms/linux)
177+
set(LIBS ${LIBS} -Wl,--no-as-needed $<TARGET_LINKER_FILE:Qt6::RemoteObjects> -Wl,--as-needed)
177178
endif()
178179

179180
if(WIN32 OR (APPLE AND NOT IOS AND NOT MACOS_NE) OR (LINUX AND NOT ANDROID))

0 commit comments

Comments
 (0)