aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-24 17:52:45 -0400
committerTest_User <hax@andrewyu.org>2024-06-24 18:09:48 -0400
commit9778d7df241baeab6ee3fff978b8e0d6a8897cdb (patch)
tree2b6104ef4d8934b1b85801ce20a41bbb406cc1f9 /Makefile
parent99449f390c045b25ac1ddb1fa406b7a371523182 (diff)
downloadhaxircd-9778d7df241baeab6ee3fff978b8e0d6a8897cdb.tar.gz
haxircd-9778d7df241baeab6ee3fff978b8e0d6a8897cdb.zip
Yay basic NickServ actually functions now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c8f5dac..9a32b59 100644
--- a/Makefile
+++ b/Makefile
@@ -341,7 +341,8 @@ endif
ifeq ($(SERVICES_PSEUDOCLIENT),1)
SOFILES += pseudoclients/services.so
-CFLAGS += -DUSE_SERVICES_PSEUDOCLIENT
+CFLAGS += -DUSE_SERVICES_PSEUDOCLIENT $(shell pkg-config --cflags lmdb)
+LDFLAGS += $(shell pkg-config --libs lmdb)
USE_PSEUDOCLIENTS = 1
endif
@@ -442,7 +443,7 @@ HaxIRCd.so: $(OFILES) .makeopts Makefile
$(CC) $(CFLAGS) -fPIC -c $< -o $@
%.so: %.c
- $(CC) $(CFLAGS) -shared -fPIC $< -o $@
+ $(CC) $(CFLAGS) -shared -fPIC $< -o $@ $(LDFLAGS)
$(call DEPS,config,o)