Some more osx-ppc fixes

This commit is contained in:
pancake 2016-06-06 16:20:03 +02:00
parent c04b32e6aa
commit bd5e22c17e
3 changed files with 12 additions and 4 deletions

View File

@ -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:

View File

@ -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

View File

@ -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)