Skip to content

Commit

Permalink
Fix native build
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Apr 10, 2018
1 parent f077f01 commit 41d65f5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ CXXFLAGS+=$(CFLAGS)
FRIDA_SDK=ext/frida-$(frida_os)-$(frida_version)/libfrida-core.a
FRIDA_SDK_URL=https://github.com/frida/frida/releases/download/$(frida_version)/frida-core-devkit-$(frida_version)-$(frida_os_arch).tar.xz
FRIDA_CPPFLAGS+=-Iext/frida
#FRIDA_LIBS+=ext/frida/libfrida-core.a -lresolv
ifeq ($(frida_os),android)
FRIDA_LIBS+=ext/frida/libfrida-core.a
else
FRIDA_LIBS+=ext/frida/libfrida-core.a -lresolv
endif

# OSX-FRIDA
ifeq ($(shell uname),Darwin)
ifeq ($(frida_os),macos)
Expand All @@ -48,7 +52,9 @@ FRIDA_LIBS+=-framework Foundation
FRIDA_LIBS+=-framework UIKit
FRIDA_LIBS+=-framework CoreGraphics
else
#FRIDA_LIBS+=-lbsm
ifeq ($(frida_os),macos)
FRIDA_LIBS+=-lbsm
endif
endif
ifeq ($(frida_os),macos)
FRIDA_LIBS+=-framework AppKit
Expand Down

0 comments on commit 41d65f5

Please sign in to comment.