Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=688171

Yaakov (Cygwin Ports) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Yaakov (Cygwin Ports) <[email protected]> 2011-04-04 
21:45:23 EDT ---
(In reply to comment #3)
> We need the unset command in the rpm macro, but it's not needed for the 
> wrapper
> script. In fact, it's not only unneeded but might cause problems when 
> configure
> scripts call <host-triplet>-pkg-config.
> 
> I would say another solution is rewriting i686-pc-mingw32-pkg-config script so
> it wouldn't call rpm --eval internally. With that we'd be able to get rid of
> the 'unset' command in the script, but keep it in the rpm macro.

Why not just remove the "unset PKG_CONFIG_PATH" from %_mingw32_pkg_config but
leave it in %_mingw32_env?  That way PKG_CONFIG_PATH will still be honoured
when building manually, such as the OP's example, but will be ignored when
building RPMs.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to