Remove libr_shlr.a special-case for Emscripten ##build

It is no longer needed.
This commit is contained in:
Ole André Vadla Ravnås 2024-09-23 00:16:44 +02:00 committed by pancake
parent 8fa7d4f599
commit 2797a41c2e

View File

@ -366,19 +366,11 @@ SHLRS+=zip/librz.a
libr_shlr.${EXT_AR}:
rm -rf .libr
mkdir .libr
ifeq ($(CC),emcc)
for LIB in ${SHLRS} ; do \
if [ -f "$${LIB}" ]; then emcc -emit-llvm -nostdlib -r -Wl,--whole-archive -o .libr/$$(basename $${LIB}.a).o $${LIB} -s ERROR_ON_UNDEFINED_SYMBOLS=0 ; fi ; \
done
${AR} rs $@ .libr/*.o
$(RANLIB) $@
else
for LIB in ${SHLRS} ; do \
if [ -f "$${LIB}" ]; then ${PARTIALLD} -o .libr/$$(basename $${LIB}.a).o $${LIB} ; fi ; \
done
${AR} rs $@ .libr/*.o
$(RANLIB) $@
endif
.PHONY: spp