Contrib-live: Don't patch things if you don't need them.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 19 Feb 2007 23:27:26 +0000 (23:27 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 19 Feb 2007 23:27:26 +0000 (23:27 +0000)
extras/contrib/src/Makefile

index 65d2da5..3109125 100644 (file)
@@ -1074,8 +1074,12 @@ live555-$(LIVEDOTCOM_VERSION).tar.gz:
 live: live555-$(LIVEDOTCOM_VERSION).tar.gz
        $(EXTRACT_GZ)
        patch -p0 < Patches/live.patch
+ifdef HAVE_WIN32 
        patch -p0 < Patches/livedotcom-win32.patch
+endif
+ifdef HAVE_DARWIN_OS
        patch -p0 < Patches/live-osx.patch
+endif
 
 .live: live
 ifdef HAVE_WIN32