From 70bd1f1222992ad0263bfb694d6717e88cc2ea53 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sun, 21 Jun 2015 14:19:25 +0000 Subject: [PATCH] Fixed issues that prevented cross-compilation to work. Not sure what I broke with this or what this was needed for. --- config/config.mk.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.mk.in b/config/config.mk.in index eaf3d576..8d920647 100644 --- a/config/config.mk.in +++ b/config/config.mk.in @@ -65,7 +65,7 @@ endif CXXCPP = @CXXCPP@ # Preprocessor flags -CPPFLAGS = -I../src -I../include/ -I../include/exiv2 @CPPFLAGS@ -I/usr/include -DEXV_LOCALEDIR=\"$(localedir)\" +CPPFLAGS = -I../src -I../include/ -I../include/exiv2 @CPPFLAGS@ -DEXV_LOCALEDIR=\"$(localedir)\" ifeq ($(COMMERCIAL_VERSION),yes) CPPFLAGS += -DEXV_COMMERCIAL_VERSION=1 endif @@ -168,7 +168,7 @@ COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c # LINK.cc does not need $(LIBS), libtool's dark magic takes care of that # when linking a binary with a libtool library. -LINK.cc = $(CXX) $(LDFLAGS) -ldl +LINK.cc = $(CXX) $(LDFLAGS) # ********************************************************************** # Installation programs