2
1

qdecoder-0002-configure.ac-drop-hardcoded-paths.patch 811 B

12345678910111213141516171819202122232425
  1. [PATCH] configure.ac: drop hardcoded paths
  2. Causing problems with cross compilation.
  3. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  4. ---
  5. configure.ac | 5 +----
  6. 1 file changed, 1 insertion(+), 4 deletions(-)
  7. Index: qdecoder-r12.0.5/configure.ac
  8. ===================================================================
  9. --- qdecoder-r12.0.5.orig/configure.ac
  10. +++ qdecoder-r12.0.5/configure.ac
  11. @@ -81,10 +81,7 @@
  12. AC_CONFIG_HEADER([config.h])
  13. AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile])
  14. -## Set path
  15. -PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
  16. -CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include -I./ -D_GNU_SOURCE"
  17. -LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/local/lib"
  18. +CPPFLAGS="$CPPFLAGS -I./ -D_GNU_SOURCE"
  19. ## Set autoconf setting
  20. #AC_CANONICAL_TARGET