diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-02 04:03:47 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-02 04:03:47 +0000 |
commit | a356ea2521cefa80c8622fd8a60d33300cb549e6 (patch) | |
tree | 3758bf28dc99e3332ecb34303560ad68ed0fc0e2 | |
parent | dff97f8d424755c568312ca3ddd8cd808280e7d8 (diff) |
Fix PIC configuration, so shared libraries once again work
-Erik
-rw-r--r-- | extra/Configs/Config.i386.default | 2 | ||||
-rw-r--r-- | extra/Configs/Config.in | 4 | ||||
-rw-r--r-- | ldso/ldso/Makefile | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/extra/Configs/Config.i386.default b/extra/Configs/Config.i386.default index 3fdaa05b7..1b097b7c1 100644 --- a/extra/Configs/Config.i386.default +++ b/extra/Configs/Config.i386.default @@ -36,7 +36,7 @@ HAVE_ELF=y # # General Library Settings # -HAVE_PIC=y +DOPIC=y HAVE_SHARED=y BUILD_UCLIBC_LDSO=y UCLIBC_HAS_THREADS=y diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 0b14b0021..1b3357ded 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -6,7 +6,7 @@ menu "General Library Settings" -config HAVE_PIC +config DOPIC bool "Generate Position Independent Code (PIC)" default y help @@ -16,7 +16,7 @@ config HAVE_PIC config HAVE_SHARED bool "Enable support for shared libraries" - depends on HAVE_PIC + depends on DOPIC default y help If you wish to build uClibc with support for shared libraries then diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 3ecbe9f77..e317ffcb3 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -23,6 +23,7 @@ TOPDIR=../../ +DOPIC=true include $(TOPDIR)Rules.mak LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so |