The --enable-rpath configure option doesn't work the same way it did
before. Work around that by specifying the rpath option myself on the setup.py command-line. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a9102b3671
commit
8da2fe32f9
@ -184,7 +184,7 @@ cd bld
|
||||
../configure --with-gtk \
|
||||
--prefix=%{wxpref} \
|
||||
--enable-monolithic \
|
||||
--enable-rpath=%{wxpref}/lib \
|
||||
--disable-rpath \
|
||||
--with-opengl \
|
||||
--enable-geometry \
|
||||
--enable-optimise \
|
||||
@ -224,8 +224,9 @@ cd $WXDIR/wxPython
|
||||
UNICODE=%{unicode} \
|
||||
EP_ADD_OPTS=1 \
|
||||
NO_SCRIPTS=1 \
|
||||
WX_CONFIG="$WXDIR/bld/wx-config --inplace" \
|
||||
build
|
||||
WX_CONFIG="$WXDIR/bld/wx-config --no_rpath" \
|
||||
build_ext --rpath=%{wxpref}/lib \
|
||||
build
|
||||
|
||||
|
||||
|
||||
@ -250,7 +251,8 @@ cd $WXDIR/wxPython
|
||||
UNICODE=%{unicode} \
|
||||
EP_ADD_OPTS=1 \
|
||||
NO_SCRIPTS=1 \
|
||||
WX_CONFIG="$RPM_BUILD_ROOT%{wxpref}/bin/wx-config --prefix=$RPM_BUILD_ROOT%{wxpref}" \
|
||||
WX_CONFIG="$RPM_BUILD_ROOT%{wxpref}/bin/wx-config --prefix=$RPM_BUILD_ROOT%{wxpref} --no_rpath" \
|
||||
build_ext --rpath=%{wxpref}/lib \
|
||||
install \
|
||||
--root=$RPM_BUILD_ROOT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user