You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm test a simple hello-world app with NDK R26D. I want use NDK c++_shared STL. So I use set_runtimes("c++_shared") in xmake.lua.
Expected Behavior
readelf -d hell-world | grep NEEDED to inspect the app, it use [libc++_shared.so]
But it was not.
And then, I tried config like rm -rf .xmake; rm -rf build;xmake f -y -p android --runtimes=c++_shared, than run fromelf to inspect the app, it shows as expectd.
Xmake Version
2.9.1
Operating System Version and Architecture
Windows
Describe Bug
I'm test a simple hello-world app with NDK R26D. I want use NDK c++_shared STL. So I use
set_runtimes("c++_shared")
in xmake.lua.Expected Behavior
readelf -d hell-world | grep NEEDED
to inspect the app, it use [libc++_shared.so]But it was not.
And then, I tried config like
rm -rf .xmake; rm -rf build;xmake f -y -p android --runtimes=c++_shared
, than run fromelf to inspect the app, it shows as expectd.Project Configuration
xmake f -y -p android
Additional Information and Error Logs
When use xmake -v to inspect the command line, it has
-static-libstdc++
which is not as expectedAfter config with
rm -rf .xmake; rm -rf build;xmake f -y -p android --runtimes=c++_shared
, the command line is OK without-static-libstdc++
The text was updated successfully, but these errors were encountered: