diff options
Diffstat (limited to 'external/gpgme/ExternalProject_gpgme.mk')
-rw-r--r-- | external/gpgme/ExternalProject_gpgme.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/gpgme/ExternalProject_gpgme.mk b/external/gpgme/ExternalProject_gpgme.mk index bc6429bbff6e..768aef9a7a27 100644 --- a/external/gpgme/ExternalProject_gpgme.mk +++ b/external/gpgme/ExternalProject_gpgme.mk @@ -29,6 +29,10 @@ $(call gb_ExternalProject_get_state_target,gpgme,build): GPG_ERROR_LIBS="$(GPG_ERROR_LIBS)" \ LIBASSUAN_CFLAGS="$(LIBASSUAN_CFLAGS)" \ LIBASSUAN_LIBS="$(LIBASSUAN_LIBS)" \ + $(if $(filter LINUX,$(OS)), \ + 'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \ + -Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN') \ + $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ && $(MAKE) \ ) |