set SONAME for cross builds

This commit is contained in:
Michael Davidsaver
2021-05-12 18:47:49 -07:00
parent 6a9d92f8f4
commit 28f3239b32
3 changed files with 4 additions and 7 deletions

View File

@ -56,8 +56,8 @@ STATIC_LDFLAGS_YES = -static
STATIC_LDFLAGS_NO =
SHRLIB_CFLAGS = -fPIC
SHRLIB_LDFLAGS = -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
SHRLIB_LDFLAGS = -shared -fPIC -Wl,-h$@
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC -Wl,-h$@
GNU_LDLIBS_YES = -lgcc