mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Remove libr_shlr.a special-case for Emscripten ##build
It is no longer needed.
This commit is contained in:
parent
8fa7d4f599
commit
2797a41c2e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user