fix setting cross compilation variables. this is ported over from Capstone

This commit is contained in:
Nguyen Anh Quynh 2015-12-20 10:05:04 +08:00
parent 203876d4f6
commit 342a68f9da
1 changed files with 5 additions and 5 deletions

View File

@ -70,11 +70,11 @@ AR ?= ar
RANLIB ?= ranlib
STRIP ?= strip
else
CC ?= $(CROSS)-gcc
AR ?= $(CROSS)-ar
RANLIB ?= $(CROSS)-ranlib
STRIP ?= $(CROSS)-strip
GLIB="-L/usr/$(CROSS)/lib/ -lglib-2.0"
CC = $(CROSS)-gcc
AR = $(CROSS)-ar
RANLIB = $(CROSS)-ranlib
STRIP = $(CROSS)-strip
GLIB = "-L/usr/$(CROSS)/lib/ -lglib-2.0"
endif
# Find GLIB