From patchwork Mon Jun 12 23:46:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reino Wijnsma X-Patchwork-Id: 3958 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.22.4 with SMTP id 4csp95128vsw; Mon, 12 Jun 2017 16:46:18 -0700 (PDT) X-Received: by 10.28.64.67 with SMTP id n64mr766878wma.93.1497311178440; Mon, 12 Jun 2017 16:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497311178; cv=none; d=google.com; s=arc-20160816; b=bQ1zHokw/mM2LdnEKk992bb8T6IOcxBzwZjGrJzRU3ZmWziMROR+EAaJY5FphCmvPj BsUBgb3LPYA/a6cxUR0eCx1UIOpk8pVdmET10RvlmAsU5lVzerq90lRdVZokooMP/Go+ U3zi/XE3Q4C6Na++T3d5Mvc5SXP3duZSVmWyYXbNZtud3wvH2DYyVJoyMg7K2umVD0HA u6wClc1GkACpQDwxK6JOjAYmK3ZrgEZp0sgvyJo8emKLF3HoWQsQUPrhMbtyuHgRKCW3 m7xvrsPExN9QO45dxVfvC0OEW19w4srtMv2Hy972zm9BpyVVHNAucYBm3HaYCZsUT14m 8zdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:user-agent:date:message-id:from:to:delivered-to :arc-authentication-results; bh=6jqJqTjVniv9cQRNyKSomIVMgPL4eiKfFeU8VjGaQ18=; b=XpElKlQFHY9Ca1L+Y4A/DQ8HU3bP9VNofUQ7iSEOycktt/3H+fKMNupvnYAfWLnXLW mkNDrZLVt6ppcKArZ1QcWfaQDD+fuJvyEjybC6rh79MVfFiBOpB9saX8s4Z70Y1X9uMB iaLoRFVFP7kNgQItK0XD926MwJZ3i4JstjIYz/8u+/BkOildHdWWNCLlkby0fb+1FE+S Rw87WihuCMsZ8ypYSxgejCfFs+ZyjYBOCG4jYkKYIuAApB3u3JEcjlNNJfUYCCYb/KSz ACXZcgaRHhtx04S7Tnkla/h3BBQiKkOfhskkmq4Jpn56p9GvwVO7OSqKbO+4JZcM90Sq fCzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z40si10651818wrc.101.2017.06.12.16.46.17; Mon, 12 Jun 2017 16:46:18 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3DAFC6882BA; Tue, 13 Jun 2017 02:46:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from lb3-smtp-cloud3.xs4all.net (lb3-smtp-cloud3.xs4all.net [194.109.24.30]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E6B468A0FB for ; Tue, 13 Jun 2017 02:46:06 +0300 (EEST) Received: from [IPv6:2001:980:2408:1:9940:6a39:cae5:d2e8] ([IPv6:2001:980:2408:1:9940:6a39:cae5:d2e8]) by smtp-cloud3.xs4all.net with ESMTP id Xzm71v0042waueA01zm8Dv; Tue, 13 Jun 2017 01:46:08 +0200 To: ffmpeg-devel@ffmpeg.org From: Reino Wijnsma Message-ID: <593F27CC.1090505@xs4all.nl> Date: Tue, 13 Jun 2017 01:46:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: [FFmpeg-devel] configure: Add libmodplug cppflags in 'configure' to prevent the use of '--extra-cflags' X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" This patch adds libmodplug cppflags in 'configure' to prevent the use of '--extra-cflags'. This is all that's needed to successfully cross-compile FFmpeg with LibModplug. From 7fe7113ccc79f46610b2a89f8ab17e94c348e568 Mon Sep 17 00:00:00 2001 From: Reino17 Date: Tue, 13 Jun 2017 01:43:09 +0200 Subject: [PATCH] Add libmodplug cppflags in 'configure' to prevent the use of '--extra-cflags' --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e3941f9..6df1cfaa 100755 --- a/configure +++ b/configure @@ -5820,7 +5820,7 @@ enabled libkvazaar && require_pkg_config "kvazaar >= 0.8.1" kvazaar.h kvz # can find the libraries and headers through other means. enabled libmfx && { use_pkg_config libmfx "mfx/mfxvideo.h" MFXInit || { require libmfx "mfx/mfxvideo.h" MFXInit -llibmfx && warn "using libmfx without pkg-config"; } } -enabled libmodplug && require_pkg_config libmodplug libmodplug/modplug.h ModPlug_Load +enabled libmodplug && require_pkg_config libmodplug libmodplug/modplug.h ModPlug_Load -DMODPLUG_STATIC && add_cppflags -DMODPLUG_STATIC enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame enabled libmysofa && require libmysofa "mysofa.h" mysofa_load -lmysofa enabled libnpp && require libnpp npp.h nppGetLibVersion -lnppi -lnppc