Guest User

Untitled

a guest
Aug 21st, 2016
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. diff --git a/configure b/configure
  2. index da3e82e..0ee84f8 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -506,15 +506,25 @@ if enabled ffmpeg_static; then
  6. # omx
  7. if enabled omx; then
  8. has_omx=true
  9. + OLDCFLAGS=$CFLAGS
  10. + if [ -d "/opt/vc/include" ]; then
  11. + CFLAGS="-I/opt/vc/include $CFLAGS"
  12. + echo "CFLAGS: '$CFLAGS'"
  13. + fi
  14. check_cc_header "bcm_host" omx_rpi
  15. if enabled omx_rpi; then
  16. check_cc_header "IL/OMX_Core" omx || has_omx=false
  17. else
  18. + CFLAGS=$OLDCFLAGS
  19. check_cc_header OMX_Core omx || has_omx=false
  20. fi
  21. - if ! $has_omx; then
  22. - die "OpenMAX IL not found"
  23. - fi
  24. + #if ! $has_omx; then
  25. + # die "OpenMAX IL not found"
  26. + #fi
  27. + echo "PLATFORM: '$PLATFORM'"
  28. + echo "CFLAGS: '$CFLAGS'"
  29. + echo "LDFLAGS: '$LDFLAGS'"
  30. + die "we're good"
  31. fi
  32.  
  33. else
Add Comment
Please, Sign In to add comment