Browse Source

Fix PIC configuration, so shared libraries once again work
-Erik

Eric Andersen 22 years ago
parent
commit
a356ea2521
3 changed files with 4 additions and 3 deletions
  1. 1 1
      extra/Configs/Config.i386.default
  2. 2 2
      extra/Configs/Config.in
  3. 1 0
      ldso/ldso/Makefile

+ 1 - 1
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

+ 2 - 2
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

+ 1 - 0
ldso/ldso/Makefile

@@ -23,6 +23,7 @@
 
 
 TOPDIR=../../
+DOPIC=true
 include $(TOPDIR)Rules.mak
 LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so