fixed some cross-compiling problems in build files
- specifying $(includedir) to AM_CPPFLAGS caused problems when --prefix was set to /usr during cross-compliation since header files for the cross compiler conflicted with files in $(includedir)=/usr/include. - the same applies to $(libdir) in LDFLAGS or something similar
This commit is contained in:
@ -2,10 +2,9 @@ AUTOMAKE_OPTIONS = nostdinc
|
||||
|
||||
CPPFLAGS_ALL_COMMON = \
|
||||
-I$(top_builddir)/include \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(includedir)
|
||||
-I$(top_srcdir)/include
|
||||
|
||||
LDFLAGS_ALL_COMMON = -L. -L../cmn -L$(libdir) -version-info 1:0:0 -no-undefined
|
||||
LDFLAGS_ALL_COMMON = -L. -L../cmn -version-info 1:0:0 -no-undefined
|
||||
|
||||
##################################################
|
||||
# MAIN LIBRARY
|
||||
|
@ -427,10 +427,9 @@ top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = nostdinc
|
||||
CPPFLAGS_ALL_COMMON = \
|
||||
-I$(top_builddir)/include \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(includedir)
|
||||
-I$(top_srcdir)/include
|
||||
|
||||
LDFLAGS_ALL_COMMON = -L. -L../cmn -L$(libdir) -version-info 1:0:0 -no-undefined
|
||||
LDFLAGS_ALL_COMMON = -L. -L../cmn -version-info 1:0:0 -no-undefined
|
||||
|
||||
##################################################
|
||||
# MAIN LIBRARY
|
||||
|
Reference in New Issue
Block a user