Closed CrusoeDaWolf closed 5 years ago
This option will create one big binary using code from launcher, engine and loader folders. Nothing more. Mainui will be as separate library anyway.
Why exactly is MainUI serparate though? Seems like an odd decision for a 'static' build.
gives me a missing library error
man LD_LIBRARY_PATH
Fully static builds are not supported anyway.
static binary cannot load dynamic libraries. It useful only with dll loader. We do not have own elf loader xashds-android x86 binary built with this options:
make -f Makefile.linux XASH_STATIC=1 XASH_DLL_LOADER=1 XASH_DEDICATED=1
It seems like using -DXASH_STATIC doesn't make a static build of the engine. Launching HL gives me a missing library error (libxashmenu) and I kinda expected a binary larger than 2 megabytes.