Omit -soname when building with Emscripten ##build

To avoid warnings, as it's not supported.
This commit is contained in:
Ole André Vadla Ravnås 2024-09-22 23:10:25 +02:00 committed by pancake
parent 9795d3de20
commit 847044b873

View File

@ -38,6 +38,7 @@ endif
LINK+=-Wl,-rpath,"${LIBDIR}"
endif
ifeq (,$(findstring emcc,$(CC)))
ifeq (${OSTYPE},gnulinux)
ifeq (${HAVE_LIBVERSION},1)
LIBNAME=${LDFLAGS_SONAME}${LIBSO}.${LIBVERSION}
@ -55,6 +56,7 @@ else
LIBNAME=${LDFLAGS_SONAME}${LIBSO}
endif
endif
endif
ifeq (${OSTYPE},haiku)
LINK+=-lnetwork