Build with CMAKE_SHARED_LINKER_FLAGS=" -Wl,--no-undefined"
Bug #1559524 reported by
awissu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yarock |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hello!
GCC complains that it can't build the library with undefined symbols:
[ 193s] CMakeFiles/
[ 193s] collect2: error: ld returned 1 exit status
[ 193s] src/core/
[ 193s] make[2]: *** [lib/libenginep
See: https:/
you can try this:
cmake .. \ SYSTEM_ QTSINGLEAPPLICA TION:BOOL= ON \ SYSTEM_ QXT:BOOL= ON \ SHARED_ LINKER_ FLAGS=" -Wl,--as- needed"
-DUSE_
-DUSE_
-DCMAKE_