mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
* Add sys/dist and sys/python-dist
* Fix for C++ with r_magic.h ?
This commit is contained in:
parent
3b8c1e1b32
commit
866e36b970
@ -263,6 +263,7 @@ extern "C" {
|
||||
|
||||
typedef struct r_magic_set RMagic;
|
||||
|
||||
#ifdef R_API
|
||||
R_API RMagic* r_magic_new();
|
||||
R_API void r_magic_free(RMagic*);
|
||||
|
||||
@ -277,6 +278,7 @@ R_API int r_magic_load(RMagic*, const char *);
|
||||
R_API int r_magic_compile(RMagic*, const char *);
|
||||
R_API int r_magic_check(RMagic*, const char *);
|
||||
R_API int r_magic_errno(RMagic*);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
3
sys/dist.sh
Executable file
3
sys/dist.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd `dirname $PWD/$0`/..
|
||||
make dist
|
6
sys/python-dist.sh
Executable file
6
sys/python-dist.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd `dirname $PWD/$0`
|
||||
|
||||
./python.sh --no-install
|
||||
cd ../r2-bindings
|
||||
make dist
|
@ -18,4 +18,5 @@ cd r2-bindings
|
||||
cd python
|
||||
make clean
|
||||
make
|
||||
sudo make install PYTHON_VERSION=${PYTHON_VERSION}
|
||||
[ ! "$1" = --no-install ] && \
|
||||
sudo make install PYTHON_VERSION=${PYTHON_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user