summarylogtreecommitdiffstats
path: root/grrlib-destdir.patch
blob: cfe68ff7718402d4d59cfa0d98ead4c30fd6548e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- GRRLIB/GRRLIB/Makefile	2022-02-17 20:56:29.732642170 -0500
+++ GRRLIB-patch/GRRLIB/Makefile	2022-02-17 21:31:09.242740426 -0500
@@ -15,15 +15,15 @@
 
 MACHDEP		+=	-DHW_DOL
 
-INSTALL_INC	:=	$(DEVKITPRO)/portlibs/gamecube/include
-INSTALL_LIB	:=	$(DEVKITPRO)/portlibs/gamecube/lib
+INSTALL_INC	:=	$(DESTDIR)$(DEVKITPRO)/portlibs/gamecube/include
+INSTALL_LIB	:=	$(DESTDIR)$(DEVKITPRO)/portlibs/gamecube/lib
 else
 include $(DEVKITPPC)/wii_rules
 
 MACHDEP		+=	-DHW_RVL
 
-INSTALL_INC	:=	$(DEVKITPRO)/portlibs/wii/include
-INSTALL_LIB	:=	$(DEVKITPRO)/portlibs/wii/lib
+INSTALL_INC	:=	$(DESTDIR)$(DEVKITPRO)/portlibs/wii/include
+INSTALL_LIB	:=	$(DESTDIR)$(DEVKITPRO)/portlibs/wii/lib
 endif
 
 NULLSTR :=