Skip to content
  1. Apr 21, 2011
  2. Apr 04, 2011
  3. Apr 03, 2011
  4. Apr 01, 2011
  5. Mar 28, 2011
  6. Mar 27, 2011
  7. Mar 13, 2011
  8. Mar 12, 2011
  9. Mar 01, 2011
  10. Feb 28, 2011
  11. Feb 27, 2011
  12. Feb 25, 2011
  13. Feb 24, 2011
  14. Feb 23, 2011
  15. Feb 14, 2011
  16. Feb 13, 2011
  17. Feb 04, 2011
  18. Feb 02, 2011
  19. Feb 01, 2011
  20. Jan 31, 2011
  21. Jan 28, 2011
  22. Jan 20, 2011
  23. Jan 19, 2011
  24. Jan 18, 2011
  25. Jan 14, 2011
  26. Jan 02, 2011
  27. Dec 30, 2010
  28. Dec 22, 2010
    • Thomas Petazzoni's avatar
      qt: fix mysql module build · 4c31d75c
      Thomas Petazzoni authored
      
      
      Closes #2371
      
      Bug 2371 was a Qt compilation issue when MySQL support was enabled,
      because the Qt configuration tests were looking at host MySQL
      libraries.
      
      Even though I couldn't reproduce the bug with MySQL libraries
      installed on my host, there was clearly a problem since
      -I/usr/include/mysql and -L/usr/lib/mysql were part of the compilation
      flags when building those tests.
      
      This was caused by the fact that /usr/bin/mysql_config was used
      instead of $(STAGING_DIR)/usr/bin/mysql_config. We fix this by passing
      the path to the correct mysql_config script using the -mysql_config Qt
      ./configure argument. Since this mysql_config script returns the
      correct flags for libraries and headers path, the hardcoded -I and -L
      flag in qt.mk are no longer needed.
      
      With this in place, Qt is no longer compiled with -I/usr/include/mysql
      and -L/usr/lib/mysql, which presumably should fix the problem reported
      in bug 2371.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      4c31d75c
Loading