mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:35:49 +01:00
- Added correct SONAME to Makefile builds as well
This commit is contained in:
parent
4d8ca70833
commit
33aac37d53
@ -13,6 +13,8 @@ OFLAGS = -O
|
|||||||
# To compile as a shared library:
|
# To compile as a shared library:
|
||||||
# CFLAGS += -fPIC
|
# CFLAGS += -fPIC
|
||||||
|
|
||||||
|
SONAME=libpolarssl.so.0
|
||||||
|
|
||||||
DLEXT=so
|
DLEXT=so
|
||||||
# OSX shared library extension:
|
# OSX shared library extension:
|
||||||
# DLEXT=dylib
|
# DLEXT=dylib
|
||||||
@ -50,7 +52,7 @@ libpolarssl.a: $(OBJS)
|
|||||||
|
|
||||||
libpolarssl.so: libpolarssl.a
|
libpolarssl.so: libpolarssl.a
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
$(CC) ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ $(OBJS)
|
$(CC) ${LDFLAGS} -shared -Wl,-soname,$(SONAME) -o $@ $(OBJS)
|
||||||
|
|
||||||
libpolarssl.dylib: libpolarssl.a
|
libpolarssl.dylib: libpolarssl.a
|
||||||
echo " LD $@"
|
echo " LD $@"
|
||||||
|
Loading…
Reference in New Issue
Block a user