From 9793097e91e2265b74747d76d2f232a68d005522 Mon Sep 17 00:00:00 2001 From: meh Date: Sat, 19 Sep 2015 14:40:35 +0200 Subject: [PATCH] cargo: rename the license features --- sys/Cargo.toml | 6 +++--- sys/build.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/Cargo.toml b/sys/Cargo.toml index 11074a6..1bcdb2e 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -20,9 +20,9 @@ static = [] build = ["static"] # licensing -build-gpl = ["build"] -build-nonfree = ["build"] -build-version3 = ["build"] +build-license-gpl = ["build"] +build-license-nonfree = ["build"] +build-license-version3 = ["build"] # ssl build-lib-gnutls = ["build"] diff --git a/sys/build.rs b/sys/build.rs index a85f208..ad986df 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -130,13 +130,13 @@ fn build() -> io::Result<()> { } // the binary using ffmpeg-sys must comply with GPL - switch!(configure, "BUILD_GPL", "gpl"); + switch!(configure, "BUILD_LICENSE_GPL", "gpl"); // the binary using ffmpeg-sys must comply with (L)GPLv3 - switch!(configure, "BUILD_VERSION3", "version3"); + switch!(configure, "BUILD_LICENSE_VERSION3", "version3"); // the binary using ffmpeg-sys cannot be redistributed - switch!(configure, "BUILD_NONFREE", "nonfree"); + switch!(configure, "BUILD_LICENSE_NONFREE", "nonfree"); // configure building libraries based on features switch!(configure, "AVCODEC", "avcodec");