mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 07:55:49 +01:00
Fix error when loading libmbedtls.so
This commit is contained in:
parent
8356fc212d
commit
ed46c436c0
@ -23,6 +23,7 @@ Bugfix
|
|||||||
* Fix missing -static-libgcc when building shared libraries for Windows
|
* Fix missing -static-libgcc when building shared libraries for Windows
|
||||||
with make.
|
with make.
|
||||||
* Fix link error when building shared libraries for Windows with make.
|
* Fix link error when building shared libraries for Windows with make.
|
||||||
|
* Fix error when loading libmbedtls.so.
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* The PEM parser now accepts a trailing space at end of lines (#226).
|
* The PEM parser now accepts a trailing space at end of lines (#226).
|
||||||
|
@ -93,9 +93,9 @@ libmbedtls.a: $(OBJS_TLS)
|
|||||||
echo " RL $@"
|
echo " RL $@"
|
||||||
$(AR) s $@
|
$(AR) s $@
|
||||||
|
|
||||||
libmbedtls.$(SOEXT_TLS): $(OBJS_TLS)
|
libmbedtls.$(SOEXT_TLS): $(OBJS_TLS) libmbedx509.so
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
$(CC) -shared -Wl,-soname,$@ $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS)
|
$(CC) -shared -Wl,-soname,$@ -L. -lmbedcrypto -lmbedx509 $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS)
|
||||||
|
|
||||||
libmbedtls.so: libmbedtls.$(SOEXT_TLS)
|
libmbedtls.so: libmbedtls.$(SOEXT_TLS)
|
||||||
echo " LN $@ -> $<"
|
echo " LN $@ -> $<"
|
||||||
@ -116,9 +116,9 @@ libmbedx509.a: $(OBJS_X509)
|
|||||||
echo " RL $@"
|
echo " RL $@"
|
||||||
$(AR) s $@
|
$(AR) s $@
|
||||||
|
|
||||||
libmbedx509.$(SOEXT_X509): $(OBJS_X509)
|
libmbedx509.$(SOEXT_X509): $(OBJS_X509) libmbedcrypto.so
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
$(CC) -shared -Wl,-soname,$@ $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509)
|
$(CC) -shared -Wl,-soname,$@ -L. -lmbedcrypto $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509)
|
||||||
|
|
||||||
libmbedx509.so: libmbedx509.$(SOEXT_X509)
|
libmbedx509.so: libmbedx509.$(SOEXT_X509)
|
||||||
echo " LN $@ -> $<"
|
echo " LN $@ -> $<"
|
||||||
|
Loading…
Reference in New Issue
Block a user