Skip to content

Commit

Permalink
Use relative path to load dependency of libssl
Browse files Browse the repository at this point in the history
This fixes crash when loading libssl in some Kobo firmware
in which libcrypto.so.1.0.0 is missing in LD_LIBRARY_PATH.
  • Loading branch information
chrox committed Mar 24, 2015
1 parent 0089c00 commit fb73781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ $(OPENSSL_LIB):
$(if $(WIN32),mingw,linux-generic32)) \
$(if $(WIN32),no-,)shared no-asm no-idea no-mdc2 no-rc5 \
&& $(MAKE) CC="$(CC) $(CFLAGS)" \
SHARED_LDFLAGS="$(LDFLAGS) -Wl,-rpath,'libs'" \
LD=$(LD) RANLIB=$(RANLIB) \
--silent depend build_crypto build_ssl

Expand Down

0 comments on commit fb73781

Please sign in to comment.