mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-22 19:45:34 +00: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
|
||||
with make.
|
||||
* Fix link error when building shared libraries for Windows with make.
|
||||
* Fix error when loading libmbedtls.so.
|
||||
|
||||
Changes
|
||||
* The PEM parser now accepts a trailing space at end of lines (#226).
|
||||
|
|
|
@ -93,9 +93,9 @@ libmbedtls.a: $(OBJS_TLS)
|
|||
echo " RL $@"
|
||||
$(AR) s $@
|
||||
|
||||
libmbedtls.$(SOEXT_TLS): $(OBJS_TLS)
|
||||
libmbedtls.$(SOEXT_TLS): $(OBJS_TLS) libmbedx509.so
|
||||
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)
|
||||
echo " LN $@ -> $<"
|
||||
|
@ -116,9 +116,9 @@ libmbedx509.a: $(OBJS_X509)
|
|||
echo " RL $@"
|
||||
$(AR) s $@
|
||||
|
||||
libmbedx509.$(SOEXT_X509): $(OBJS_X509)
|
||||
libmbedx509.$(SOEXT_X509): $(OBJS_X509) libmbedcrypto.so
|
||||
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)
|
||||
echo " LN $@ -> $<"
|
||||
|
|
Loading…
Reference in a new issue