Index: third_party/instrumented_libraries/scripts/libva1.sh |
diff --git a/third_party/instrumented_libraries/scripts/freetype.sh b/third_party/instrumented_libraries/scripts/libva1.sh |
similarity index 61% |
copy from third_party/instrumented_libraries/scripts/freetype.sh |
copy to third_party/instrumented_libraries/scripts/libva1.sh |
index 2a3ac3fca2961f268382c9e1c37f408b2be3d5c6..d28002ac5bc3d3210680a3963b8b05f61550abb5 100755 |
--- a/third_party/instrumented_libraries/scripts/freetype.sh |
+++ b/third_party/instrumented_libraries/scripts/libva1.sh |
@@ -3,11 +3,9 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# This script does some preparations before build of instrumented freetype. |
+# This script does some preparations before build of instrumented libva1. |
-mkdir temp |
-mv * temp/ |
-cd temp |
-./debian/rules patch |
-mv freetype-*/* ../ |
-cd .. |
+# autogen is only required on Precise. |
+NOCONFIGURE=1 ./autogen.sh |
+ |
+sed -i "s|-no-undefined -Wl,--no-undefined||g" dummy_drv_video/Makefile.in |