Fixed issues that prevented cross-compilation to work. Not sure what I broke with this or what this was needed for.

This commit is contained in:
Andreas Huggel 2015-06-21 14:19:25 +00:00
parent fd220506b4
commit 70bd1f1222

View File

@ -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