* Fix build

* Fix soname for libr2.so
This commit is contained in:
pancake 2010-10-28 13:12:14 +02:00
parent 63be7d8070
commit 5d107aa50c
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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