Update Makefile

fedora and the like need this path for glib2.0

Signed-off-by: Grant Mackey <grant@jrlabs.io>
This commit is contained in:
Grant Mackey 2024-04-08 06:15:15 +00:00
parent 21e3ad6ce4
commit 0e0b5b12f3

View File

@ -17,7 +17,7 @@ CFLAGS?= -g3 -O0 -Wall -Wextra
MACROS?= MACROS?=
INCLUDE_DIR?=/usr/local/include INCLUDE_DIR?=/usr/local/include
LIB_DIR?=/usr/local/lib LIB_DIR?=/usr/local/lib
INCLUDE_PATH=-I $(INCLUDE_DIR) -I /usr/include/glib-2.0 -I /usr/lib/`uname -m`-linux-gnu/glib-2.0/include/ INCLUDE_PATH=-I $(INCLUDE_DIR) -I /usr/include/glib-2.0 -I /usr/lib/`uname -m`-linux-gnu/glib-2.0/include/ -I/usr/lib64/glib-2.0/include/
LIB_PATH=-L $(LIB_DIR) LIB_PATH=-L $(LIB_DIR)
LIBS=-l yaml -l glib-2.0 LIBS=-l yaml -l glib-2.0
TARGET=yamlloader TARGET=yamlloader