about summary refs log tree commit diff
path: root/pkgs/development/web/nodejs/pkg-libpath.patch
blob: 8ad94c0e3e2f2886d79935d1feef51683b275ad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index d199975..66d903b 100755
--- a/configure
+++ b/configure
@@ -734,7 +734,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'))))
+          pkg_libpath.split())
 
     default_libs = getattr(options, shared_lib + '_libname')
     default_libs = map('-l{0}'.format, default_libs.split(','))