diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-08-30 17:12:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 17:12:09 -0700 |
commit | 62331c9023860d785d81eec59a32276abdb8cb54 (patch) | |
tree | b4bfc18874cb5df8c93a1bada2f7789da35735d4 /scripts/build/libc | |
parent | a833c5596d75f95ca9bcfa99f55b165bfe38ab58 (diff) | |
parent | 41cd6542a737af78e4a38a00cc86c6ee138691e0 (diff) | |
download | crosstool-ng-62331c9023860d785d81eec59a32276abdb8cb54.tar.gz crosstool-ng-62331c9023860d785d81eec59a32276abdb8cb54.tar.bz2 crosstool-ng-62331c9023860d785d81eec59a32276abdb8cb54.zip |
Merge pull request #435 from KirillSmirnov/uclibc
uClibc: improve managing shared libs
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/uClibc.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 18f234ef..47e135b9 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -231,7 +231,7 @@ do_libc_backend_once() { # - "make install" calls install_runtime and install_dev # - so we're left with re-installing the headers... Sigh... CT_DoLog EXTRA "Installing C library" - CT_DoExecLog ALL ${make} "${make_args[@]}" install + CT_DoExecLog ALL ${make} "${make_args[@]}" install install_utils fi # libc_mode == final # Now, if installing headers into a subdirectory, put everything in its place. @@ -278,6 +278,12 @@ manage_uClibc_config() { CT_KconfigDisableOption "ARCH_USE_MMU" "${dst}" fi + if [ "${CT_SHARED_LIBS}" = "y" ]; then + CT_KconfigEnableOption "HAVE_SHARED" "${dst}" + else + CT_KconfigDisableOption "HAVE_SHARED" "${dst}" + fi + # Accomodate for old and new uClibc version, where the # way to select between hard/soft float has changed case "${CT_ARCH_FLOAT}" in |