libc/libpthread: Inject threadsafe locking callbacks for rtld.
[dragonfly.git] / lib / libthread_xu / Makefile
index da4020a..a77e0f9 100644 (file)
@@ -14,6 +14,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
        -I${.CURDIR}/../../include
 CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
 CFLAGS+=-I${.CURDIR}/../libthread_db
+CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
 
 # XXX this breaks threaded applications
 #LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map