From 331f7aac8597a20c40db9553ddca1fbf276dadd7 Mon Sep 17 00:00:00 2001 From: Nishi Date: Sat, 26 Oct 2024 20:29:45 +0900 Subject: [PATCH] moving to LDPATHS --- examples/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 158efb55..fd0a3e2e 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -401,7 +401,8 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW) ifeq ($(PLATFORM_OS),BSD) # Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling # NOTE: Required packages: mesa-libs - LDLIBS = -L /usr/pkg/lib -L /usr/X11R7/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -lraylib -lGL -lpthread -lm + LDPATHS += -L /usr/pkg/lib -L /usr/X11R7/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib + LDLIBS = -lraylib -lGL -lpthread -lm # On XWindow requires also below libraries LDLIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor