MPD
MPD copied to clipboard
android: Correctly move the libmpd.so output
libmpd.so was getting written as a file called arm64-v8a instead of arm64-v8a/libmpd.so
Is there really no way to do that natively with Meson, without resorting to a shell script? (And btw your shell script is unsafe .... it's the kind of awful shell script I want to avoid - shell is the worst of all programming languages.)
No reply.
Looking around I didn't find a way to have meson just move a file, not sure what the right fix is here.
Maybe moving the file wasn't a good idea anyway, because moving an output file will cause it to be rebuilt; and copying files is something Meson can do: https://mesonbuild.com/Fs-module.html#copyfile
Ah, nice I'll take a look at that, thanks!
Hmm, looks like fs can't depend on other modules and is used to move stuff around for the build not after. I can at least redo the script in python so it's not bash.