ports/net-im/concord/files/patch-examples_Makefile
Vladimir Druzenko 27e816ac01 net-im/concord: Improve port
- 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>
2024-09-30 23:40:33 +03:00

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)