• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/support/libtool/buildroot-libtool-v2.4.4.patch
Gustavo ZacariasGustavo Zacarias committed 4a28e3523d616 Dec 2014
Raw file
Source viewDiff to previous
 
1
Libtool fixes for cross-compilation, many past contributors/authors.
2
Update based on libtool-2.4.4, useful for 2.4.3 as well but not 2.4.2.
3
​
4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5
​
6
--- a/ltmain.sh 2014-12-16 09:51:23.068441045 -0300
7
+++ b/ltmain.sh 2014-12-16 09:57:10.509430339 -0300
8
@@ -2687,8 +2687,8 @@
9
    # was found and let the user know that the "--tag" command
10
    # line option must be used.
11
    if test -z "$tagname"; then
12
-     func_echo "unable to infer tagged configuration"
13
-     func_fatal_error "specify a tag with '--tag'"
14
+     func_echo "defaulting to \`CC'"
15
+     func_echo "if this is not correct, specify a tag with \`--tag'"
16
 #  else
17
 #    func_verbose "using $tagname tagged configuration"
18
    fi
19
@@ -4277,8 +4277,12 @@
20
      # At present, this check doesn't affect windows .dll's that
21
      # are installed into $libdir/../bin (currently, that works fine)
22
      # but it's something to keep an eye on.
23
-     test "$inst_prefix_dir" = "$destdir" && \
24
-       func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
25
+
26
+     #
27
+     # This breaks install into our staging area.  -PB
28
+     #
29
+     #test "$inst_prefix_dir" = "$destdir" && \
30
+     #  func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
31
 
32
      if test -n "$inst_prefix_dir"; then
33
        # Stick the inst_prefix_dir data into the link command.
34
@@ -6550,7 +6554,8 @@
35
    ;;
36
       -all-static | -static | -static-libtool-libs)
37
    case $arg in
38
-   -all-static)
39
+   # Make -static behave like -all-static -GZ
40
+   -all-static | -static)
41
      if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
42
        func_warning "complete static linking is impossible in this configuration"
43
      fi
44
@@ -6559,12 +6564,6 @@
45
      fi
46
      prefer_static_libs=yes
47
      ;;
48
-   -static)
49
-     if test -z "$pic_flag" && test -n "$link_static_flag"; then
50
-       dlopen_self=$dlopen_self_static
51
-     fi
52
-     prefer_static_libs=built
53
-     ;;
54
    -static-libtool-libs)
55
      if test -z "$pic_flag" && test -n "$link_static_flag"; then
56
        dlopen_self=$dlopen_self_static
57
@@ -6858,7 +6857,8 @@
58
       prevarg=$arg
59
 
60
       case $arg in
61
-      -all-static)
62
+      # Make -static behave like -all-static -GZ
63
+      -all-static | -static)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.