Browse Source

moving to LDPATHS

pull/4438/head
Nishi 2 months ago
parent
commit
331f7aac85
No known key found for this signature in database GPG Key ID: BAEA61502BFD1F1C
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/Makefile

+ 2
- 1
examples/Makefile View File

@ -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

Loading…
Cancel
Save