mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-01 11:11:56 +00:00
Some more osx-ppc fixes
This commit is contained in:
parent
c04b32e6aa
commit
bd5e22c17e
@ -1,7 +1,7 @@
|
||||
include ../config.mk
|
||||
|
||||
NAME=r_debug
|
||||
DEPS=r_reg r_anal r_bp r_util r_io r_parse r_cons r_db r_syscall r_hash
|
||||
DEPS=r_reg r_anal r_bp r_util r_io r_parse r_cons r_db r_syscall r_hash r_socket r_flags
|
||||
CFLAGS+=-DCORELIB
|
||||
|
||||
foo:
|
||||
|
@ -161,4 +161,13 @@ RIOPlugin r_io_plugin_qnx = {
|
||||
.plugin_open = __plugin_open,
|
||||
.lseek = __lseek,
|
||||
.system = __system,
|
||||
.isdbg = true};
|
||||
.isdbg = true
|
||||
};
|
||||
|
||||
#ifndef CORELIB
|
||||
struct r_lib_struct_t radare_plugin = {
|
||||
.type = R_LIB_TYPE_IO,
|
||||
.data = &r_io_plugin_qnx,
|
||||
.version = R2_VERSION
|
||||
};
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@ LD=$(CC)
|
||||
LDFLAGS+=-L${LIBR}/socket -lr_socket
|
||||
LDFLAGS+=-L${LIBR}/util -lr_util
|
||||
|
||||
ifeq (${OSTYPE},Darwin)
|
||||
ifeq (${OSTYPE},darwin)
|
||||
LDFLAGS_SHARED=-dynamiclib
|
||||
else
|
||||
LDFLAGS_SHARED=-shared
|
||||
@ -53,7 +53,6 @@ default: make
|
||||
prepare:
|
||||
mkdir -p $(LIB)
|
||||
|
||||
#$(LD) -shared -Wl,-soname,$(LIBNAME).so -o $(LIB)/$(LIBNAME).so $(SRC_O)
|
||||
$(LIB):
|
||||
mkdir -p $(LIB)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user