delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/05/22:26:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SARE_OBFU_PART_INA,TW_DL,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4C329465.3090305@acm.org>
Date: Mon, 05 Jul 2010 19:26:45 -0700
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygport patch: suppress libtool fixup step
References: <4C3215FC DOT 3010309 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4C3215FC.3010309@cwilson.fastmail.fm>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 7/5/2010 10:27 AM, Charles Wilson wrote:
> Yaakov:
> 
> JonY needs to suppress the "libtool fixup" postinstall step when
> packaging the mingw64 gcc.  He may or may not need to fixup his .la
> files, BUT -- given that we're talking about gcc here, AND his cross
> compiler goes somewhere other than /usr...it's likely that whatever
> "fixing up" he needs to do, will be specific to that package and likely
> unable to re-use the more generic fixup code.
> 
> How about this patch?  It seems to work and solves that particular issue
> for mingw64-gcc.

I was just packaging a new version of libao and it turns out I need this
patch, too. libao puts some plugin DLLs into /usr/lib/ao/plugins-2.
Those DLLs are *not* marked as modules for some reason, so cygport tries
to move them somewhere and change the dlname in the .la files.

I'm not sure why the DLLs are not marked as modules, but they are not
marked as such in Debian, either. So, I'm trying to follow the Debian
packaging by including *.la files in the -dev package. To do that, I
need to turn off cygports libtool processing and manually fix the dlname
entry myself.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

"Being against torture ought to be sort of a bipartisan thing."
                -- Karl Lehenbauer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019