mirror of
https://github.com/WCBROW01/zblock.git
synced 2025-12-10 19:58:05 -05:00
Changes for running on FreeBSD
This commit is contained in:
6
Makefile
6
Makefile
@ -1,5 +1,5 @@
|
||||
CFLAGS = -Wall -Wextra -std=gnu11 -O2
|
||||
LDFLAGS = -lpthread -lcurl -lmrss -lpq
|
||||
CFLAGS = -I/usr/local/include -Ipostgresql -Wall -Wextra -std=gnu11 -O2
|
||||
LDFLAGS = -L/usr/local/lib -lpthread -lcurl -lmrss -lpq
|
||||
|
||||
SRC = $(wildcard *.c)
|
||||
OBJ = $(SRC:.c=.o)
|
||||
@ -8,4 +8,4 @@ zblock: $(OBJ) /usr/local/lib/libdiscord.a
|
||||
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
.PHONY: clean
|
||||
clean: rm -f $(OBJ) linuxbot
|
||||
clean: rm -f $(OBJ) zblock
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <concord/discord.h>
|
||||
#include <concord/log.h>
|
||||
|
||||
#include <postgresql/libpq-fe.h>
|
||||
#include <libpq-fe.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "feed_info.h"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
#include <concord/discord.h>
|
||||
|
||||
#include <postgresql/libpq-fe.h>
|
||||
#include <libpq-fe.h>
|
||||
|
||||
typedef struct {
|
||||
char *url;
|
||||
|
||||
Reference in New Issue
Block a user