mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +00:00
Fix build --without-gpl
This commit is contained in:
parent
11e81e27a4
commit
9f4f802cec
@ -3,6 +3,8 @@
|
||||
#include <r_fs.h>
|
||||
#include "grubfs.h"
|
||||
|
||||
#if WITH_GPL
|
||||
|
||||
static RFSFile* FSP(_open)(RFSRoot *root, const char *path, bool create) {
|
||||
RFSFile *file = r_fs_file_new (root, path);
|
||||
GrubFS *gfs = grubfs_new (&FSIPTR, &root->iob);
|
||||
@ -92,3 +94,9 @@ RFSPlugin FSS(r_fs_plugin) = {
|
||||
.mount = FSP(_mount),
|
||||
.umount = FSP(_umount),
|
||||
};
|
||||
#else
|
||||
RFSPlugin FSS(r_fs_plugin) = {
|
||||
.name = FSNAME,
|
||||
.desc = FSDESC,
|
||||
};
|
||||
#endif
|
||||
|
@ -67,7 +67,7 @@ cp -f plugins.ios.cfg plugins.cfg
|
||||
${CFGFLAGS} \
|
||||
--with-ostype=darwin --with-libr \
|
||||
--without-gpl --without-fork --without-libuv \
|
||||
--with-compiler=ios-sdk \
|
||||
--with-compiler=ios-sdk --with-capstone5 \
|
||||
--target=arm-unknown-darwin
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user