Skip to content

Commit 3ce1ab5

Browse files
committed
Do not link to sockhub library from DTMD, because it only uses the header.
1 parent 816bf05 commit 3ce1ab5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

contrib/pg_dtm/dtmd/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ CC=gcc
22
CFLAGS=-g -O2 -Wall -Iinclude -D_LARGEFILE64_SOURCE # -DDEBUG
33
SOCKHUB_PREFIX=../sockhub
44
SOCKHUB_CFLAGS=-I"$(SOCKHUB_PREFIX)"
5-
SOCKHUB_LDFLAGS=-lsockhub -L"$(SOCKHUB_PREFIX)"
65

76
SYSTEM=$(shell uname -s)
87
ifeq ($(SYSTEM),Darwin)
@@ -19,8 +18,7 @@ bin/dtmd: obj/server.o obj/raft.o obj/main.o obj/clog.o obj/clogfile.o obj/util.
1918
$(CC) -o bin/dtmd $(CFLAGS) \
2019
obj/server.o obj/raft.o obj/main.o \
2120
obj/clog.o obj/clogfile.o obj/util.o obj/transaction.o \
22-
obj/snapshot.o \
23-
$(SOCKHUB_LDFLAGS)
21+
obj/snapshot.o
2422

2523
bin/heart: obj/heart.o obj/raft.o obj/util.o | bindir objdir
2624
$(CC) -o bin/heart $(CFLAGS) \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy