diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-25 21:33:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-25 21:33:36 +0000 |
commit | 317c335c7a2a1e9fe80c997f09a4cfc34eab13d0 (patch) | |
tree | fbde1b1b76ee7c6985a9504e23c69509d4bf8721 /security/avcheck | |
parent | 5f7a595c12d89cefac7ba6726a36357fdd84b26f (diff) | |
download | pkgsrc-317c335c7a2a1e9fe80c997f09a4cfc34eab13d0.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 'security/avcheck')
0 files changed, 0 insertions, 0 deletions