mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 04:30:37 -04:00
- Add USE_LDCONFIG - port installs .so library. - Allow build both shared and static libraries at same time. - Prebuild examples. PR: 279553 Approved by: Souji Thenria <mail@souji-thenria.net>
11 lines
321 B
Text
11 lines
321 B
Text
--- examples/Makefile.orig 2024-09-22 09:38:52 UTC
|
|
+++ examples/Makefile
|
|
@@ -36,7 +36,7 @@ CFLAGS += -O0 -g -pthread -Wall \
|
|
|
|
CFLAGS += -O0 -g -pthread -Wall \
|
|
-I$(INCLUDE_DIR) -I$(CORE_DIR) -I$(GENCODECS_DIR)
|
|
-LDFLAGS = -L$(TOP)/lib
|
|
+LDFLAGS += -L$(TOP)/lib
|
|
LDLIBS = -ldiscord -lcurl
|
|
|
|
all: $(BOTS)
|