mhogomchungu / zuluCrypt

zuluCrypt is a front end to cryptsetup and tcplay and it allows easy management of encrypted block devices
https://mhogomchungu.github.io/zuluCrypt
Other
505 stars 61 forks source link

Fix ordering of linker flags for zuluCrypt library #112

Closed Ahzod closed 5 years ago

Ahzod commented 5 years ago

Static libraries have to be listed before dynamic ones. Otherwise, when compiling with the '-Wl,--as-needed' flag, the linker doesn't consider the functions used in zuluplay-static when determining that libgcrypt is not used and thus need not be linked against.

Fixes #110

marciosouza20 commented 5 years ago

Hello,

I will apply the patch to solve this problem.