mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 17:38:10 +00:00
Fix dylib linking
This commit is contained in:
parent
6d6c7982ce
commit
5ff2ee51e9
1 changed files with 4 additions and 4 deletions
|
@ -103,9 +103,9 @@ libmbedtls.so: libmbedtls.$(SOEXT_TLS)
|
||||||
echo " LN $@ -> $<"
|
echo " LN $@ -> $<"
|
||||||
ln -sf $< $@
|
ln -sf $< $@
|
||||||
|
|
||||||
libmbedtls.dylib: $(OBJS_TLS)
|
libmbedtls.dylib: $(OBJS_TLS) libmbedx509.dylib
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
$(CC) -dynamiclib $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS)
|
$(CC) -dynamiclib -L. -lmbedcrypto -lmbedx509 $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS)
|
||||||
|
|
||||||
libmbedtls.dll: $(OBJS_TLS) libmbedx509.dll
|
libmbedtls.dll: $(OBJS_TLS) libmbedx509.dll
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
|
@ -126,9 +126,9 @@ libmbedx509.so: libmbedx509.$(SOEXT_X509)
|
||||||
echo " LN $@ -> $<"
|
echo " LN $@ -> $<"
|
||||||
ln -sf $< $@
|
ln -sf $< $@
|
||||||
|
|
||||||
libmbedx509.dylib: $(OBJS_X509)
|
libmbedx509.dylib: $(OBJS_X509) libmbedcrypto.dylib
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
$(CC) -dynamiclib $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509)
|
$(CC) -dynamiclib -L. -lmbedcrypto $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509)
|
||||||
|
|
||||||
libmbedx509.dll: $(OBJS_X509) libmbedcrypto.dll
|
libmbedx509.dll: $(OBJS_X509) libmbedcrypto.dll
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
|
|
Loading…
Reference in a new issue