aboutsummaryrefslogtreecommitdiff
path: root/recipes/openjdk/openjdk-6/fix-llvm-libs.patch
blob: 7c82daf06f0b88aac9a5d4e69c14f2639db1704c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: icedtea6-1.8/configure.ac
===================================================================
--- icedtea6-1.8.orig/configure.ac
+++ icedtea6-1.8/configure.ac
@@ -472,7 +472,7 @@
     if test "x$LLVM_SHARED_LIB" != x && echo "$flag" | grep -q '^-lLLVM'; then
       continue
     fi
-    if echo "$flag" | grep -q '^-l'; then
+    if echo "$flag" | grep -q '^-l\|.so'; then
       if test "x$LLVM_LIBS" != "x"; then
         LLVM_LIBS="$LLVM_LIBS "
       fi