mirror of https://github.com/vitalif/phantomjs
e185a5c2b6
The script now copies all required shared libraries found via ldd to the deployment folder. Furthermore, a run-script is created that runs the phantomjs binary through the copied build-host's ld-linux.so to ensure all symbols are properly resolved. Last but not least, we now include a very slightly modified brandelf.c from FreeBSD. This version can be compiled on Linux machines and is used to change the ELF ABI of the binary and libs in the deployment folder, such that they all use the old SYSV OS ABI for compatibility. Usage: $ package-linux-dynamic.sh $ scp phantomjs-$version.tar.bz2 yourhost $ ssh yourhost $ tar -xf phantomjs-$version.tar.bz2 $ ./phantomjs-$version/phantomjs.sh CC ISSUE: 413 (http://code.google.com/p/phantomjs/issues/detail?id=413) (proper static build would still be desirable eventually if possible) |
||
---|---|---|
.. | ||
brandelf.c | ||
package-linux-dynamic.sh |