Skip to content

Commit 9979adb

Browse files
jiaqizhomy-ship-it
authored andcommitted
Exclude unnecessary files when not enable ic_proxy
We don't need extra libs like libuv when config without --enable-ic-porxy. Use ENABLE_IC_PROXY to identify dependency.
1 parent cf7a18a commit 9979adb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/interconnect/ic_modules.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
#include "ic_common.h"
1919
#include "tcp/ic_tcp.h"
2020
#include "udp/ic_udpifc.h"
21+
22+
#ifdef ENABLE_IC_PROXY
2123
#include "proxy/ic_proxy_server.h"
24+
#endif
2225

2326
PG_MODULE_MAGIC;
2427

0 commit comments

Comments
 (0)