Browse Source

radare android5 fix for #4008

android-5
its-pointless 6 years ago
committed by Fredrik Fornwall
parent
commit
d60a71c1a3
  1. 1
      packages/radare2/build.sh
  2. 11
      packages/radare2/librhash-android5-makefilefix.patch

1
packages/radare2/build.sh

@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=3.6.0
TERMUX_PKG_SHA256=a763d3812a4cec74fd39d67a2559a4e0073e9e8d1d55481e5feb3f00bbe19b02
TERMUX_PKG_SRCURL=https://github.com/radare/radare2/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_REVISION=1
TERMUX_PKG_DEPENDS="libuv"
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-compiler=termux-host"

11
packages/radare2/librhash-android5-makefilefix.patch

@ -0,0 +1,11 @@
--- ./libr/hash/Makefile.orig 2019-07-04 00:25:23.719185558 +0000
+++ ./libr/hash/Makefile 2019-07-04 00:25:55.795734142 +0000
@@ -6,7 +6,7 @@
ifneq ($(OSTYPE),darwin)
ifneq ($(OSTYPE),haiku)
LDFLAGS+=-lm
-LINK=-lm
+LINK=-lm -L../util -lr_util
endif
endif
Loading…
Cancel
Save