Makefile.mk: fix -rtmp option for non-Windows [ci skip]

This commit is contained in:
Viktor Szakats 2023-10-28 10:06:43 +00:00
parent 91188c6480
commit c0d4fbb1f5
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -145,7 +145,10 @@ ifneq ($(findstring -rtmp,$(CFG)),)
CPPFLAGS += -DUSE_LIBRTMP
CPPFLAGS += -I"$(LIBRTMP_PATH)"
_LDFLAGS += -L"$(LIBRTMP_PATH)/librtmp"
_LIBS += -lrtmp -lwinmm
_LIBS += -lrtmp
ifdef WIN32
_LIBS += -lwinmm
endif
ZLIB := 1
endif