mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-01 09:07:26 +00:00
* Add _getentropy for OsX * Fix sed for python HAVE_GETENTROPY on macOS
This commit is contained in:
parent
22465615a4
commit
a7482577ce
@ -10,6 +10,10 @@ export PYTHON_FRAMEWORK_DIR="`pwd`/framework"
|
||||
cd Python-3.6.4 || exit 1
|
||||
|
||||
CPPFLAGS="-I$(brew --prefix openssl)/include" LDFLAGS="-L$(brew --prefix openssl)/lib" ./configure --enable-framework=$PYTHON_FRAMEWORK_DIR || exit 1
|
||||
|
||||
# Patch for https://github.com/radareorg/cutter/issues/424
|
||||
sed -i ".original" "s/#define HAVE_GETENTROPY 1/#define HAVE_GETENTROPY 0/" pyconfig.h
|
||||
|
||||
make -j4 || exit 1
|
||||
make frameworkinstallframework > /dev/null || exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user