git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40462
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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