summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak16
1 files changed, 8 insertions, 8 deletions
diff --git a/Rules.mak b/Rules.mak
index a9e25bd82..6b79d07b5 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -108,15 +108,15 @@ ifeq ($(strip $(HAVE_SHARED)),true)
DOPIC:=true
LIBRARY_CACHE:=#-DUSE_CACHE
ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
- LDSO:=$(TOPDIR)lib/$(UCLIBC_LDSO)
- DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO)
- BUILD_DYNAMIC_LINKER:=${shell cd $(TOPDIR)lib && pwd}/$(UCLIBC_LDSO)
+ LDSO:=$(TOPDIR)lib/$(UCLIBC_LDSO)
+ DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO)
+ BUILD_DYNAMIC_LINKER:=${shell cd $(TOPDIR) && pwd}/lib/$(UCLIBC_LDSO)
else
- LDSO:=$(SYSTEM_LDSO)
- BUILD_UCLIBC_LDSO:=false
- DYNAMIC_LINKER:=/lib/$(notdir $(SYSTEM_LDSO))
- BUILD_DYNAMIC_LINKER:=/lib/$(notdir $(SYSTEM_LDSO))
-endif
+ LDSO:=$(SYSTEM_LDSO)
+ BUILD_UCLIBC_LDSO:=false
+ DYNAMIC_LINKER:=/lib/$(notdir $(SYSTEM_LDSO))
+ BUILD_DYNAMIC_LINKER:=/lib/$(notdir $(SYSTEM_LDSO))
+ endif
endif
ifeq ($(strip $(DOPIC)),true)
CFLAGS += -fPIC