cleanup shared library build system to be more $HOME-local-install friendly

the path for the dynamic linker is now configurable, and failure to
install the symlink for it will not stop the build.
This commit is contained in:
Rich Felker 2011-06-27 21:38:11 -04:00
commit 207c45d7ab
3 changed files with 21 additions and 16 deletions

5
dist/config.mak vendored
View file

@ -11,6 +11,9 @@ prefix = /usr/local/musl
# Installation prefix for musl-gcc compiler wrapper.
exec_prefix = /usr/local
# Location for the dynamic linker ld-musl-$(ARCH).so.1
syslibdir = /lib
# Uncomment if you want to build i386 musl on a 64-bit host
#CFLAGS += -m32
@ -21,4 +24,4 @@ exec_prefix = /usr/local
#CFLAGS += -Werror -Wall -Wpointer-arith -Wcast-align -Wno-parentheses -Wno-char-subscripts -Wno-uninitialized -Wno-sequence-point -Wno-missing-braces -Wno-unused-value -Wno-overflow -Wno-int-to-pointer-cast
# Uncomment if you want to disable building the shared library.
#ALL_LDSO =
#SHARED_LIBS =