patch-cmd_dot_Makefile_in 723 B

12345678910111213141516171819
  1. $OpenBSD: patch-cmd_dot_Makefile_in,v 1.3 2014/02/06 17:32:27 edd Exp $
  2. Add pthread linkage or '@exec dot -c' will fail with "file not found"
  3. when trying to dlopen(). Not because the file is missing, but because
  4. there is a linker error. Sigh, obvious isn't it?
  5. --- cmd/dot/Makefile.in.orig2 Sun Feb 2 23:23:31 2014
  6. +++ cmd/dot/Makefile.in Sun Feb 2 23:24:22 2014
  7. @@ -615,7 +615,8 @@ dot_SOURCES = dot.c no_builtins.c
  8. dot_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
  9. dot_LDADD = \
  10. $(top_builddir)/lib/gvc/libgvc.la \
  11. - $(top_builddir)/lib/cgraph/libcgraph.la
  12. + $(top_builddir)/lib/cgraph/libcgraph.la \
  13. + -pthread
  14. dot_static_SOURCES = dot.c dot_builtins.c
  15. dot_static_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=0