]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/wxPythonFull.spec.in
fix TestGLCanvas ctor (part of patch 1155132)
[wxWidgets.git] / wxPython / distrib / wxPythonFull.spec.in
index 895803273a3d31350b8ae5e17653dbdcba4e6f4c..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 \
@@ -201,6 +201,7 @@ cd bld
 %if %{debug_flag}
        --enable-debug_flag \
 %endif
+       --disable-debugreport \
 %if %{builtin_libs}
        --with-libjpeg=builtin \
        --with-libpng=builtin \
@@ -223,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
 
 
 
@@ -249,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