Skip to content

Commit

Permalink
fix: added needed linking lib for OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Apr 13, 2024
1 parent d5350b1 commit 7226d2f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ else ifeq ($(shell uname), FreeBSD)
CC = clang
else ifeq ($(shell uname), OpenBSD)
CC = clang
OPENBSD_SPECIFIC_LDFLAGS_OPTS = -lc++abi
endif
AR = ar -rc
ifdef Q_RSC
Expand Down Expand Up @@ -151,17 +152,18 @@ define CFLAGS
$(MACOS_SPECIFIC_CFLAGS_OPTS)
endef
define LDFLAGS
$(BUILDID_OPTS) \
$(STRIP_OPTS) \
$(RELEASE_OPTS) \
-L $(BUILD_DIR) \
-L $(LAUNCHER_BUILD_DIR) \
-lraylib \
-lsk_launcher \
-lpthread \
-lm \
$(GCC_STATIC_LDFLAGS_OPTS) \
$(MACOS_SPECIFIC_LDFLAGS_OPTS)
$(BUILDID_OPTS) \
$(STRIP_OPTS) \
$(RELEASE_OPTS) \
-L $(BUILD_DIR) \
-L $(LAUNCHER_BUILD_DIR) \
-lraylib \
-lsk_launcher \
-lpthread \
-lm \
$(GCC_STATIC_LDFLAGS_OPTS) \
$(MACOS_SPECIFIC_LDFLAGS_OPTS) \
$(OPENBSD_SPECIFIC_LDFLAGS_OPTS)
endef

# Build output
Expand Down

0 comments on commit 7226d2f

Please sign in to comment.