• 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/package/mono/0002-Adjust-libc.so-path-depending-on-C-library-being-use.patch
Thomas PetazzoniThomas Petazzoni committed ee60fbdd7ba07 Feb 2015
Raw file
Source viewDiff to previous
 
1
From 6f8346438e0257259867b5dca6bb6db54eb96705 Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 7 Feb 2015 09:50:24 +0100
4
Subject: [PATCH] Adjust libc.so path depending on C library being used
5
​
6
By default, on Linux systems, Mono assumes that the C library is
7
libc.so.6. While this is true for glibc, it is not true for uClibc and
8
Musl based systems. This patch adds support for such systems.
9
​
10
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11
---
12
 configure.ac | 6 ++++++
13
 1 file changed, 6 insertions(+)
14
​
15
diff --git a/configure.ac b/configure.ac
16
index 5d9961a..f6a7909 100644
17
--- a/configure.ac
18
+++ b/configure.ac
19
@@ -2978,6 +2978,12 @@ case "$host" in
20
         SQLITE="libsqlite.so"
21
         SQLITE3="libsqlite3.so"
22
    ;;
23
+    *-*-*uclibc*)
24
+   LIBC="libc.so.0"
25
+   ;;
26
+    *-*-*musl*)
27
+   LIBC="libc.so"
28
+   ;;
29
     *-*-*linux*)
30
    AC_PATH_X
31
    dlsearch_path=`(libtool --config ; echo eval echo \\$sys_lib_dlsearch_path_spec) | sh`
32
-- 
33
2.1.0
34
​
  • 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.