convert a static library to a dynamic one?

Joshua Root jmr at macports.org
Sun Nov 18 23:54:28 UTC 2018


The default value of configure.ld_archflags is '-arch
${configure.build_arch}' provided the selected compiler supports -arch.
So ‘-arch ${configure.ld_archflags}’ expands to e.g. ‘-arch -arch
x86_64’. Don't do that. :)

You can easily find out the value of any variable in a portfile by
adding a line like:

puts "somevar = ${somevar}"

(Just run something like 'port info' to trigger it.)

- Josh

On 2018-11-19 09:34 , Mark Brethen wrote:
> This port does not have a configure phase and I set 'universal no’ It
> errors with ‘-arch ${configure.ld_archflags}’. How is this variable set? 
> 
> 
> Mark Brethen
> mark.brethen at gmail.com <mailto:mark.brethen at gmail.com>
> 
> 
> 
>> On Nov 18, 2018, at 4:16 PM, Joshua Root <jmr at macports.org
>> <mailto:jmr at macports.org>> wrote:
>>
>> configure.ld_archflags
> 


More information about the macports-dev mailing list