siproxd-0.8.1-amd64_static_build.patch 1.2 KB

123456789101112131415161718192021222324252627
  1. --- siproxd-0.8.1/configure.in
  2. +++ siproxd-0.8.1/configure.in
  3. @@ -361,8 +361,9 @@
  4. dnl link statically to this lib
  5. dnl (this probably only will work on linux yet...)
  6. AC_MSG_CHECKING("where I can find libosip2.a")
  7. - libosip_static=`find $extra_libs $libosip_prefix_dir/lib /lib \
  8. - /usr/lib /usr/local/lib \
  9. + libosip_static=`find $extra_libs $libosip_prefix_dir/lib64 \
  10. + $libosip_prefix_dir/lib /lib64 /lib /usr/lib64 \
  11. + /usr/lib /usr/local/lib64 /usr/local/lib \
  12. -name libosip2.a 2>/dev/null|head -1`
  13. if test "x$libosip_static" != "x"; then
  14. LIBS="$libosip_static $LIBS"
  15. @@ -371,8 +372,9 @@
  16. echo "*** ERROR: a static libosip library is required!";exit 1;
  17. fi
  18. AC_MSG_CHECKING("where I can find libosipparser2.a")
  19. - libosip_static=`find $extra_libs $libosip_prefix_dir/lib /lib \
  20. - /usr/lib /usr/local/lib \
  21. + libosip_static=`find $extra_libs $libosip_prefix_dir/lib64 \
  22. + $libosip_prefix_dir/lib /lib64 /lib /usr/lib64 \
  23. + /usr/lib /ur/local/lib64 /usr/local/lib \
  24. -name libosipparser2.a 2>/dev/null|head -1`
  25. if test "x$libosip_static" != "x"; then
  26. LIBS="$libosip_static $LIBS"