Recursively Copy DLLs Required By A .exe or a .dll file.
- No External Runtime Required (Like in Python or Js Scripts)
- Recursively Find Dependencies (Finds The Dependencies Of Dependencies Of Dependencies...)
- Optionally Compress All The Dependencies Using UPX
Usage: dllb [-h] [--copy] [--upx] executable
positional arguments:
executable EXE or DLL file to bundle dependencies for
options:
-h, --help Show this help message and exit
--copy Copy the DLLs next to the executable
--upx Run UPX on all the DLLs and EXE (requires --copy).
- dllb uses directories listed in
$PATH
env variable to search for the required DLLs. - overriding
$PATH
variable is useful if you want to add more search paths.
Requirements:
- Clone The Repo:
git clone https://github.com/pegvin/DLLBundler
- CD into the cloned repo:
cd DLLBundler/
- Build:
make all DEBUG=false CXX=g++ LN=g++
DEBUG
is set to true by defaultCXX
&LN
are set to g++ by default but can be overriden if using clang++
DLLB is licensed under BSD 3-Clause "New" or "Revised" License.