summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-25 21:33:36 +0000
committerjlam <jlam@pkgsrc.org>2004-11-25 21:33:36 +0000
commit2e5e6fbf729d3344fe1e81b33a7255718c3aa7cd (patch)
treefbde1b1b76ee7c6985a9504e23c69509d4bf8721 /editors
parentec74d5433fd8effa18eb83413b40053cf1d77be5 (diff)
downloadpkgsrc-2e5e6fbf729d3344fe1e81b33a7255718c3aa7cd.tar.gz
dlopen.buildlink3.mk should be added to packages that use dlopen() to
load shared objects. Some platforms require pthreads to be linked into the application if it uses dlopen() or else the applications will core dump when they dlopen a shared module that _is_ linked with pthread support. Including dlopen.buildlink3.mk in a package Makefile will cause pthread.buildlink3.mk to also be included. It is up to the package to ensure that PTHREAD_{CFLAGS,LDFLAGS,LIBS} (defined by pthread.buildlink3.mk) are passed to the compiler when building/linking the applications, possibly by setting PTHREAD_AUTO_VARS to "yes" in the package Makefile.
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions