libiodbc-3.52.7-multilib.patch 853 B

123456789101112131415161718192021222324252627282930313233343536
  1. --- bin/iodbc-config.in.orig 2006-01-23 11:29:22.000000000 +0100
  2. +++ bin/iodbc-config.in 2009-06-04 17:48:19.000000000 +0200
  3. @@ -145,10 +145,10 @@
  4. echo_libs=yes
  5. ;;
  6. --static-libs)
  7. - echo_staticlibs=yes
  8. + echo_libs=yes
  9. ;;
  10. --libtool-libs)
  11. - echo_libtoollibs=yes
  12. + echo_libs=yes
  13. ;;
  14. --data-dir)
  15. echo_data_dir=yes
  16. @@ -196,19 +196,5 @@
  17. if test "$lib_iodbc" = "yes"; then
  18. libs="$libs -liodbc -liodbcinst"
  19. fi
  20. - echo "-L@libdir@ $libs"
  21. -fi
  22. -if test "$echo_staticlibs" = "yes"; then
  23. - libs=""
  24. - if test "$lib_iodbc" = "yes"; then
  25. - libs="@libdir@/libiodbc.a @libdir@/libiodbcinst.a @LIBADD_DL@"
  26. - fi
  27. - echo "$libs"
  28. -fi
  29. -if test "$echo_libtoollibs" = "yes"; then
  30. - libs=""
  31. - if test "$lib_iodbc" = "yes"; then
  32. - libs="@libdir@/libiodbc.la @libdir@/libiodbcinst.la"
  33. - fi
  34. echo "$libs"
  35. fi