diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2017-09-14 08:02:57 +0200 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2017-09-14 08:02:57 +0200 |
| commit | 6832c9f6ba3ad03add6d8e435690b989433357d1 (patch) | |
| tree | 9a4808986d3db34a8419c827a6c2f9215e5d5e11 | |
| parent | dcc46f5a82750836833f4ead0bee5c83d2beeecc (diff) | |
Copy dlls on Windows
| -rwxr-xr-x | server/autobuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/autobuild b/server/autobuild index 85dc564..c280d93 100755 --- a/server/autobuild +++ b/server/autobuild @@ -444,6 +444,14 @@ if [ -n "$INSTALL_DIR" ]; then else exec_privileged make install || exit_fail fi + # Copy dynamic libraries on windows. + if [ -f epdfinfo.exe ]; then + assert_program awk + assert_program ldd + for dll in $(ldd epdfinfo.exe | awk '/\/mingw/ {print $3}'); do + cp -u "$dll" "$INSTALL_DIR" + done + fi echo fi exit_success |
