mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 06:55:01 +00:00
* Fix build
* Fix soname for libr2.so
This commit is contained in:
parent
63be7d8070
commit
5d107aa50c
@ -30,7 +30,7 @@ libr2.${EXT_SO}:
|
||||
ifeq ($(OSTYPE),darwin)
|
||||
@echo Linkage of libr2.dylib is broken on OSX because of dupped .o in .objs extraction
|
||||
else
|
||||
${CC} ${LDFLAGS_SONAME}libr2.${EXT_SO}.${VERSION} ${LDFLAGS_LIB} ${PIC_CFLAGS} .objs/*.o -o libr2.${EXT_SO}
|
||||
${CC} -shared -fPIC ${LDFLAGS_SONAME}libr2.${EXT_SO}.${VERSION} ${PIC_CFLAGS} .objs/*.o -o libr2.${EXT_SO}
|
||||
endif
|
||||
|
||||
libr2.${EXT_AR}:
|
||||
|
@ -197,7 +197,7 @@ R_API int r_core_gdiff(RCore *core, const char *file1, const char *file2, int va
|
||||
RAnalBlock *bb;
|
||||
RList *fcns[2], *bbs[2];
|
||||
RListIter *iter;
|
||||
char *files[2] = {file1, file2};
|
||||
const char *files[2] = {file1, file2};
|
||||
int i;
|
||||
|
||||
/* Init resources */
|
||||
|
@ -176,7 +176,7 @@ R_API RList *r_core_asm_strsearch(RCore *core, const char *input, ut64 from, ut6
|
||||
R_API RList *r_core_asm_bwdisassemble (RCore *core, ut64 addr, int n, int len);
|
||||
|
||||
/* gdiff.c */
|
||||
R_API int r_core_gdiff(struct r_core_t *core, char *file1, char *file2, int va);
|
||||
R_API int r_core_gdiff(struct r_core_t *core, const char *file1, const char *file2, int va);
|
||||
|
||||
R_API int r_core_project_open(RCore *core, const char *file);
|
||||
R_API int r_core_project_save(RCore *core, const char *file);
|
||||
|
Loading…
Reference in New Issue
Block a user