From d4397bf6a510bc2ab396bf1918827b48876c2434 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Tue, 6 Oct 2020 10:07:31 -0600 Subject: [PATCH] copy freetype from buildtools dir --- .github/workflows/continuous-integration-workflow.yml | 6 ------ Makefile.gc | 1 + Makefile.wii | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index d2cd298..0e3a29e 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -13,12 +13,6 @@ jobs: with: submodules: true - - name: Copy build files - run: | - cp -r libfreetype.a /opt/devkitpro/portlibs/ppc/lib/ - cp -r libfreetype.la /opt/devkitpro/portlibs/ppc/lib/ - working-directory: ./buildtools - - name: Build run: | make -j2 diff --git a/Makefile.gc b/Makefile.gc index 5c296c0..9dea8e2 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -39,6 +39,7 @@ CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) `freetype-config --cflags` \ CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map +LDFLAGS += -L../buildtools #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project diff --git a/Makefile.wii b/Makefile.wii index 8eba56d..8e63800 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -39,6 +39,7 @@ CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) `freetype-config --cflags` \ CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map +LDFLAGS += -L../buildtools #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project