]> git.saurik.com Git - wxWidgets.git/commitdiff
The --enable-rpath configure option doesn't work the same way it did
authorRobin Dunn <robin@alldunn.com>
Wed, 16 Mar 2005 22:53:59 +0000 (22:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 16 Mar 2005 22:53:59 +0000 (22:53 +0000)
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

wxPython/distrib/wxPythonFull.spec.in

index 4ba8616a74bb22b57c3beea4ad916e023142bfdc..198b24a2438df6ca34cee46d8d3a93c355e502c5 100644 (file)
@@ -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