mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Update configure with latest acr
This commit is contained in:
parent
5b3e630903
commit
d2628e46d6
4
configure
vendored
4
configure
vendored
@ -402,7 +402,7 @@ echo "ERROR: ${CC} cannot create executables" >&2 ;
|
||||
exit 1 ; fi
|
||||
ochof "checking for dynamic library... "
|
||||
HAVE_LIB_DL=0
|
||||
for OS in gnulinux linux gnu/kfreebsd syllable sunos darwin beos solaris wsl ; do
|
||||
for OS in gnulinux linux gnu/kfreebsd syllable serenityos sunos darwin beos solaris wsl ; do
|
||||
if [ "${HOST_OS}" = "${OS}" ]; then
|
||||
HAVE_LIB_DL=1
|
||||
break;
|
||||
@ -725,7 +725,7 @@ if [ "$HOST_OS" = "linux" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
else
|
||||
if [ "$HOST_OS" = "serenityos" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
USEROSTYPE="serenityos"
|
||||
HAVE_LIB_DL="1"
|
||||
DL_LIBS="-ldl"
|
||||
else
|
||||
|
@ -165,7 +165,7 @@ IFEQ USEROSTYPE auto ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
}{
|
||||
IFEQ HOST_OS serenityos ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
USEROSTYPE = serenityos ;
|
||||
HAVE_LIB_DL = 1 ;
|
||||
DL_LIBS = -ldl ;
|
||||
}{
|
||||
|
@ -70,6 +70,9 @@ LDFLAGS+=${SSL_LDFLAGS}
|
||||
#endif
|
||||
# from env: ALFLAGS+=$(ALFLAGS)
|
||||
|
||||
localize_hidden:
|
||||
for LIB in .libr/* ; do $(OBJCOPY) --localize-hidden $$LIB ; done
|
||||
|
||||
# ${PARTIALLD} $(ALFLAGS) $(MLFLAGS) $(PLFLAGS) -o .libr/$$(basename $${LIB}.a).o $${LIB}
|
||||
.libr: $(wildcard */libr_*.${EXT_AR}) ../shlr/libr_shlr.${EXT_AR}
|
||||
rm -rf .libr
|
||||
@ -78,16 +81,16 @@ LDFLAGS+=${SSL_LDFLAGS}
|
||||
${PARTIALLD} $(ALFLAGS) $(MLFLAGS) $(PLFLAGS) -o .libr/$$(basename $${LIB}.a).o $${LIB} ; \
|
||||
done
|
||||
ifeq ($(OSTYPE),linux)
|
||||
for LIB in .libr/* ; do $(OBJCOPY) --localize-hidden $$LIB ; done
|
||||
$(MAKE) localize_hidden
|
||||
endif
|
||||
ifeq ($(OSTYPE),gnulinux)
|
||||
for LIB in .libr/* ; do $(OBJCOPY) --localize-hidden $$LIB ; done
|
||||
$(MAKE) localize_hidden
|
||||
endif
|
||||
ifeq ($(OSTYPE),android)
|
||||
for LIB in .libr/* ; do $(OBJCOPY) --localize-hidden $$LIB ; done
|
||||
$(MAKE) localize_hidden
|
||||
endif
|
||||
ifeq ($(OSTYPE),bsd)
|
||||
for LIB in .libr/* ; do $(OBJCOPY) --localize-hidden $$LIB ; done
|
||||
$(MAKE) localize_hidden
|
||||
endif
|
||||
|
||||
_libr.${EXT_AR}: .libr
|
||||
|
Loading…
Reference in New Issue
Block a user