From b5d16f7285e7e44548b5d5494ba1ff8569ce1387 Mon Sep 17 00:00:00 2001 From: walkerlee Date: Wed, 9 Sep 2015 13:24:50 +0800 Subject: [PATCH 1/2] Fix cross compile error --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6c8dfde4324363..091a8fa952bbb4 100755 --- a/configure +++ b/configure @@ -728,7 +728,7 @@ def configure_library(lib, output): # libpath needs to be provided ahead libraries if pkg_libpath: output['libraries'] += ( - filter(None, map(str.strip, pkg_cflags.split('-L')))) + map('-L{0}'.format, filter(None, map(str.strip, pkg_libpath.split('-L')))) default_libs = getattr(options, shared_lib + '_libname') default_libs = map('-l{0}'.format, default_libs.split(',')) From 10a2591743d6db7b938941e5492c12792106b3d1 Mon Sep 17 00:00:00 2001 From: walkerlee Date: Fri, 11 Sep 2015 13:42:20 +0800 Subject: [PATCH 2/2] Add missing close parenthesis --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 091a8fa952bbb4..edf8d81cc702be 100755 --- a/configure +++ b/configure @@ -728,7 +728,7 @@ def configure_library(lib, output): # libpath needs to be provided ahead libraries if pkg_libpath: output['libraries'] += ( - map('-L{0}'.format, filter(None, map(str.strip, pkg_libpath.split('-L')))) + map('-L{0}'.format, filter(None, map(str.strip, pkg_libpath.split('-L'))))) default_libs = getattr(options, shared_lib + '_libname') default_libs = map('-l{0}'.format, default_libs.split(','))