From patchwork Mon Jun 12 23:41:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reino Wijnsma X-Patchwork-Id: 3957 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.22.4 with SMTP id 4csp93876vsw; Mon, 12 Jun 2017 16:41:14 -0700 (PDT) X-Received: by 10.223.144.4 with SMTP id h4mr712224wrh.182.1497310874307; Mon, 12 Jun 2017 16:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497310874; cv=none; d=google.com; s=arc-20160816; b=URiLq/EbwGgff+8/bcDt1jNFzcFGu+jJxM6yYiumZNwmawhb5lgJoqDMrIvRWTvDvW hFB+kF/5CLx3Edma76yPcqOrKorK5SE5xcbIJVgzXR07RMPZr7OKyPKYhnxlTxCLsPeE wyEom8E97/d2eUtCCx49omiZ98aq/AuUXVLfcgrMt2DR34z78s2iKvf3omoPn37IJ4gR /aBkQeNtMm1wOnfl1tRweBJS4ZG/LAeR3s8j096W9cRibtP24Pn3iMinC7EJbT87vlb7 AT8icJDKW+kQdX2fdh6oC3mNZ7o0qI7YS6JS4VBBu4Pj+HuPf05c64jfmM0O01jbC5+0 lG3A== 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=lRqFFde0FDv+z75rYNDT/kfYbaSl/P/rVI9JVZKKGdc=; b=u4j4G1J2hnF5aUQ6X1LSC5+v2G37whg8X/DOupn+Ckk1Zd8akD9DrTp2bZwnBsDE68 S/22WotR+RI/7F3lU6KZua2hdZQESKKktoV5etZydR4/B1RsA1mF9s9Mod8iwQrnD3ea yvhILv0hW0I26GyHN/YNdnOkdaddHogUiMythwWxUHpMaLAdPOyJl4yUEhpxShnmZflZ 9yqRNIOVplO26y0syO30ywF1LH/w/0wiel7IsmhxmdXFKQvQ1JVZ26wYfQu0oNAoAbp4 aqimnlaKg9bpPUT19unTOYL+/Wn/cTqxqTNme6N+f0vHxAQCR4kf2ZUL3Dt8Z+GIHRoo /nJQ== 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 y202si9210265wme.131.2017.06.12.16.41.13; Mon, 12 Jun 2017 16:41:14 -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 264A86882BA; Tue, 13 Jun 2017 02:41:09 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A3FDC680398 for ; Tue, 13 Jun 2017 02:41:03 +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 Xzgu1v0032waueA01zgvsF; Tue, 13 Jun 2017 01:40:55 +0200 To: ffmpeg-devel@ffmpeg.org From: Reino Wijnsma Message-ID: <593F2693.4040805@xs4all.nl> Date: Tue, 13 Jun 2017 01:41:07 +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] Add libtwolame 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 libtwolame cppflags in 'configure' to prevent the use of '--extra-cflags'. This is all that's needed to successfully cross-compile FFmpeg with LibTwoLAME. From 9aacc77f0dcb67d375fd3bdf4d0a1dc8d55b1cf7 Mon Sep 17 00:00:00 2001 From: Reino17 Date: Tue, 13 Jun 2017 01:10:53 +0200 Subject: [PATCH] Add libtwolame 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..e2c0cb9 100755 --- a/configure +++ b/configure @@ -5859,7 +5859,7 @@ enabled libssh && require_pkg_config libssh libssh/sftp.h sftp_init enabled libspeex && require_pkg_config speex speex/speex.h speex_decoder_init -lspeex enabled libtesseract && require_pkg_config tesseract tesseract/capi.h TessBaseAPICreate enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg -enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame && +enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame -DLIBTWOLAME_STATIC && add_cppflags -DLIBTWOLAME_STATIC && { check_lib libtwolame twolame.h twolame_encode_buffer_float32_interleaved -ltwolame || die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; } enabled libv4l2 && require_pkg_config libv4l2 libv4l2.h v4l2_ioctl