shithub: m8c

Download patch

ref: d39da7b2e0572071046e60e46a35a635cdaa167f
parent: 2829f6be68ec3129870c1b7626f3e6223043b4ba
parent: 08130995ad8dede1c682de4f4be376d34642d677
author: Jonne Kokkonen <jonne.kokkonen@gmail.com>
date: Mon Feb 26 19:14:25 EST 2024

Merge pull request #140 from laamaa/windows_sdl_log_fix

allow showing sdl log messages on windows

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 DEPS = src/serial.h src/slip.h src/command.h src/render.h src/ini.h src/config.h src/input.h src/fx_cube.h src/audio.h src/ringbuffer.h src/inline_font.h
 
 #Any special libraries you are using in your project (e.g. -lbcm2835 -lrt `pkg-config --libs gtk+-3.0` ), or leave blank
-INCLUDES = $(shell pkg-config --libs sdl2 libserialport)
+INCLUDES = $(shell pkg-config --libs sdl2 libserialport | sed 's/-mwindows//')
 
 #Set any compiler flags you want to use (e.g. -I/usr/include/somefolder `pkg-config --cflags gtk+-3.0` ), or leave blank
 local_CFLAGS = $(CFLAGS) $(shell pkg-config --cflags sdl2 libserialport) -Wall -O2 -pipe -I.
--