This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/19403] cross-compiling fails to install
- From: "bernd.edlinger at hotmail dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 25 Dec 2015 13:38:52 +0000
- Subject: [Bug build/19403] cross-compiling fails to install
- Auto-submitted: auto-generated
- References: <bug-19403-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19403
--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
this works for me:
diff -pur a/glibc-2.22/Makefile b/glibc-2.22/Makefile
--- a/glibc-2.22/Makefile 2015-08-05 08:42:21.000000000 +0200
+++ b/glibc-2.22/Makefile 2015-12-25 14:10:22.508742935 +0100
@@ -96,7 +96,7 @@ elf/ldso_install:
# Create links for shared libraries using the `ldconfig' program if possible.
# Ignore the error if we cannot update /etc/ld.so.cache.
-ifeq (no,$(cross-compiling))
+ifeq ($(BUILD_CC),$(CC))
ifeq (yes,$(build-shared))
install: install-symbolic-link
.PHONY: install-symbolic-link
diff -pur a/glibc-2.22/Makerules b/glibc-2.22/Makerules
--- a/glibc-2.22/Makerules 2015-08-05 08:42:21.000000000 +0200
+++ b/glibc-2.22/Makerules 2015-12-25 14:22:31.295783007 +0100
@@ -996,7 +996,7 @@ endef
endif
ifeq (yes,$(build-shared))
-ifeq (no,$(cross-compiling))
+ifeq ($(BUILD_CC),$(CC))
symbolic-link-prog := $(elf-objpfx)sln
symbolic-link-list := $(elf-objpfx)symlink.list
define make-shlib-link
--
You are receiving this mail because:
You are on the CC list for the bug.