Add quickjs-ng 0.14.0#391
Conversation
rompelhd
commented
May 18, 2026
- VITABUILD for quickjs-ng 0.14.0
| package() { | ||
| cd quickjs-$pkgver/build | ||
|
|
||
| install -Dm644 libqjs.a \ |
There was a problem hiding this comment.
Why?
quickjs cmake has install targets (that also installs cmake config)
There was a problem hiding this comment.
I compiled the QuickJS core and performed the installation manually because the default configuration enabled the CLI binaries, which caused errors related to ioctl.h.
|
|
||
| install -Dm644 ../quickjs.h \ | ||
| "$pkgdir$VITASDK/arm-vita-eabi/include/quickjs.h" | ||
| touch qjs qjsc # fake binaries, Vita will never use them. |
There was a problem hiding this comment.
rm them is better. isn't it?
There was a problem hiding this comment.
No, this is for cmake install step to not fail. rm can be done afterwards, though (on the other hand, maybe patching cmakelists to not try to install them in the first place is better)
There was a problem hiding this comment.
In the end, I patched the CMakeLists file to prevent the binaries from being installed; this is a cleaner solution.
- Set OUTPUT_NAME=quickjs for the qjs target. Previously, CMake installed quickjs.a instead of libquickjs.a.