fix patch to actually do what it was supposed to

This commit is contained in:
Dominik Mierzejewski 2009-09-26 23:49:39 +00:00
parent 83ddb6e68d
commit c6393bc615

View File

@ -25,7 +25,7 @@ diff -up libdvdread-4.1.4/configure2.endian libdvdread-4.1.4/configure2
/* Automatically generated by configure, do not edit */
#include "version.h"
EOF
+test "$bigendian" == "yes" && echo "#define WORDS_BIGENDIAN" || echo "#undef WORDS_BIGENDIAN" >> config.h
+test "$bigendian" == "yes" && echo "#define WORDS_BIGENDIAN" >> config.h || echo "#undef WORDS_BIGENDIAN" >> config.h
# build tree in object directory if source path is different from current one
if test "$source_path_used" != "no"; then