Prefix library names with lib.
This commit is contained in:
parent
44c887619d
commit
7fcef7b322
1 changed files with 4 additions and 3 deletions
|
@ -67,6 +67,7 @@ endif
|
||||||
# COMMON LIBRARY SETUP #
|
# COMMON LIBRARY SETUP #
|
||||||
|
|
||||||
ifeq ($(LIBRARY),1)
|
ifeq ($(LIBRARY),1)
|
||||||
|
STRIPPED_NAME := lib$(STRIPPED_NAME)
|
||||||
EXTRA_OUTPUT_FILES += $(INCLUDE_DIRS)
|
EXTRA_OUTPUT_FILES += $(INCLUDE_DIRS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -118,7 +119,7 @@ ifeq ($(TARGET),3DS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBRARY),1)
|
ifeq ($(LIBRARY),1)
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/lib/lib$(STRIPPED_NAME).a
|
OUTPUT_FILES := $(OUTPUT_DIR)/lib/$(STRIPPED_NAME).a
|
||||||
else
|
else
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).smdh $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).3dsx $(OUTPUT_DIR)/$(STRIPPED_NAME).3ds $(OUTPUT_DIR)/$(STRIPPED_NAME).cia
|
OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).smdh $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).3dsx $(OUTPUT_DIR)/$(STRIPPED_NAME).3ds $(OUTPUT_DIR)/$(STRIPPED_NAME).cia
|
||||||
endif
|
endif
|
||||||
|
@ -152,7 +153,7 @@ else ifeq ($(TARGET),WIIU)
|
||||||
CXX := $(DEVKITPPC)/bin/powerpc-eabi-g++
|
CXX := $(DEVKITPPC)/bin/powerpc-eabi-g++
|
||||||
|
|
||||||
ifeq ($(LIBRARY),1)
|
ifeq ($(LIBRARY),1)
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/lib/lib$(STRIPPED_NAME).a
|
OUTPUT_FILES := $(OUTPUT_DIR)/lib/$(STRIPPED_NAME).a
|
||||||
else
|
else
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/meta.xml $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/icon.png
|
OUTPUT_FILES := $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/meta.xml $(OUTPUT_DIR)/wiiu/apps/$(STRIPPED_NAME)/icon.png
|
||||||
endif
|
endif
|
||||||
|
@ -166,7 +167,7 @@ else
|
||||||
CXX := g++
|
CXX := g++
|
||||||
|
|
||||||
ifeq ($(LIBRARY),1)
|
ifeq ($(LIBRARY),1)
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/lib/lib$(STRIPPED_NAME).a $(OUTPUT_DIR)/lib/lib$(STRIPPED_NAME).so
|
OUTPUT_FILES := $(OUTPUT_DIR)/lib/$(STRIPPED_NAME).a $(OUTPUT_DIR)/lib/$(STRIPPED_NAME).so
|
||||||
COMMON_CC_FLAGS += -fPIC
|
COMMON_CC_FLAGS += -fPIC
|
||||||
else
|
else
|
||||||
OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME)
|
OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME)
|
||||||
|
|
Loading…
Reference in a new issue