Martchus added a comment.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.


  This change produces invalid JSON in my setup:
  
    "stdcpp-path":" 
"/opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_shared.so"
 -nodefaultlibs -lgcc -lc -lm -ldl",
  
  So it think there's some refinement required to make this more robust. The 
file `stl` contains ` 
"/opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_shared.so"
 -nodefaultlibs -lgcc -lc -lm -ldl` in my case. When escaping the quotes 
correctly so the JSON is no longer invalid the next error I get is:
  
    STL library does not exist at  
"/opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_shared.so"
 -nodefaultlibs -lgcc -lc -lm -ldl
  
  So I suppose only a single file should be specified here. When I change it to 
only 
`/opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_shared.so`
 it finally works.
  
  BTW, I'm using Arch Linux and the following packages/versions:
  
    pacman -Q cmake android-sdk android-ndk android-qt5-arm64-v8a 
extra-cmake-modules 
    cmake 3.12.1-1
    android-sdk 26.1.1-1
    android-ndk r17.b-1
    android-qt5-arm64-v8a 5.11.1-1
    extra-cmake-modules 5.49.0-1

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D11776

To: apol, #frameworks, #build_system, vkrause
Cc: kde-frameworks-devel, kde-buildsystem, Martchus, vkrause, michaelh, 
ngraham, bruns

Reply via email to