]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Makefile.mk: fix `-rtmp` option for non-Windows [ci skip]
authorViktor Szakats <commit@vsz.me>
Sat, 28 Oct 2023 10:06:43 +0000 (10:06 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 28 Oct 2023 10:06:43 +0000 (10:06 +0000)
lib/Makefile.mk

index 5071600b59d5da293b1ef5f94e43c31f7caf4ddb..1513cafef9011544659cb027255dfdcca4c3b6d6 100644 (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