X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad0a09b58678c8cc5e1f8f08b7d22f01250e940a..24ff756145239f513187398f00092f3581fb12e2:/wxBase.spec diff --git a/wxBase.spec b/wxBase.spec index f8614ab24f..3f8a054ef3 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -95,6 +95,10 @@ make -C locale allmo make -C obj-static DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install make -C obj-shared DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install +# we need to modify the absolute wx-config link to be relative or rpm complains +# (and our package wouldn't be relocatable) +ln -sf ../lib/wx/config/%{wxconfig} $RPM_BUILD_ROOT/%{pref}/bin/wx-config + %find_lang wxstd %clean