On Sun, 2019-05-12 at 20:47 +0300, rinigus wrote:
> Martin, 
> 
> thanks for pointing in this direction. I added %dump in SPEC and the
> only reasonable macro that I could see was _repository. So, I added
> the following to differentiate the dependencies:
> 
> %if %{_repository} == "sailfish_3.0.2.8_armv7hl"
> BuildRequires: libicu52-devel
> %else
> BuildRequires: libicu-devel
> %endif
> 
> Not the prettiest of the solutions, but seem to work.

Suppose you might want to also try just:

BuildRequires:  pkgconfig(icu-uc)


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to