diff --git a/Makefile.gc b/Makefile.gc index 960d2ff49d..3af7276a97 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -46,6 +46,7 @@ CFLAGS += -DHAVE_LOGGER CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) CFLAGS += -Iconsole/logger OBJ += console/logger/logger.o +LIBS += -lbba endif ifeq ($(HAVE_FILE_LOGGER), 1) diff --git a/Makefile.gc.salamander b/Makefile.gc.salamander index f8efe510f6..363449ad92 100644 --- a/Makefile.gc.salamander +++ b/Makefile.gc.salamander @@ -46,6 +46,7 @@ CFLAGS += -DHAVE_LOGGER CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) CFLAGS += -Iconsole/logger OBJ += console/logger/logger.o +LIBS += -lbba endif ifeq ($(HAVE_FILE_LOGGER), 1) diff --git a/console/logger/logger.c b/console/logger/logger.c index cb15f6f5ed..fba04a0448 100644 --- a/console/logger/logger.c +++ b/console/logger/logger.c @@ -125,7 +125,7 @@ static int if_down(int sid) (void)sid; #ifdef __CELLOS_LV2__ cellNetCtlTerm(); -#elif defined(GEKKO) +#elif defined(GEKKO) && !defined(HW_DOL) net_deinit(); #endif return (0);