From: Adrian Chiris Date: Mon, 8 Dec 2014 08:54:57 +0000 (+0200) Subject: added support for compiling flint with a cross compiler (passing Zlib include path... X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9d80d645111c41727858ba26e677637b9cf211cf;p=~adrianc%2Fmstflint.git added support for compiling flint with a cross compiler (passing Zlib include path was missing) --- diff --git a/flint/Makefile.am b/flint/Makefile.am index 58788e5..e78a38d 100755 --- a/flint/Makefile.am +++ b/flint/Makefile.am @@ -38,7 +38,7 @@ LAYOUTS_DIR = $(top_srcdir)/tools_layouts MFT_UTILS_DIR = $(top_srcdir)/mft_utils INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(MTCR_DIR) -I$(MFLASH_DIR) -I$(COMMON_DIR) \ - -I$(LAYOUTS_DIR) -I$(MFT_UTILS_DIR) + -I$(LAYOUTS_DIR) -I$(MFT_UTILS_DIR) -I$(ZLIB_INC_PATH) mstflint_CXXFLAGS = -Wall -W -g -MP -MD -pipe -DEXTERNAL bin_PROGRAMS = mstflint @@ -57,7 +57,7 @@ mstflint_LDADD = ../mlxfwops/lib/libmlxfwops.a \ if ENABLE_DC -mstflint_LDADD += -lz +mstflint_LDADD += -L$(ZLIB_LIB_PATH) -lz else mstflint_CXXFLAGS += -DNO_ZLIB endif