You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-10-06 05:47:18 +02:00
build: Skip compiling network.h and rtsp.h if networking is not enabled.
rtsp.h relies on network.h and the latter conditionally defines fallback OS structures that rely on configure tests, which are only run if networking is enabled.
This commit is contained in:
@@ -349,6 +349,8 @@ OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
|
|||||||
OBJS-$(CONFIG_TLS_PROTOCOL) += tls.o
|
OBJS-$(CONFIG_TLS_PROTOCOL) += tls.o
|
||||||
OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
|
OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
|
||||||
|
|
||||||
|
SKIPHEADERS-$(CONFIG_NETWORK) += network.h rtsp.h
|
||||||
|
|
||||||
EXAMPLES = metadata output
|
EXAMPLES = metadata output
|
||||||
TESTPROGS = seek
|
TESTPROGS = seek
|
||||||
TOOLS = pktdumper probetest
|
TOOLS = pktdumper probetest
|
||||||
|
Reference in New Issue
Block a user