]> git.saurik.com Git - wxWidgets.git/blobdiff - wxBase.spec
Use wxBookCtrl wrapper rather than wxNotebook in common code for native book (Smartph...
[wxWidgets.git] / wxBase.spec
index f8614ab24fd21c61c69cc5fb98ba525629a9a5dd..3f8a054ef3f429b8686a4ef987021cd179e9f4d8 100644 (file)
@@ -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