Skip to content

Commit e9d862f

Browse files
dgrove-ossdas
authored andcommitted
SR-438: 'make distcheck' fails for libdispatch on Linux
Small fixes to (a) use proper paths to libpwq when building out-of-tree and (b) include tests/linux_port.h in list of test sources (needed for distcheck). With these changes 'make distcheck' works as expected. Signed-off-by: Daniel A. Steffen <[email protected]>
1 parent fd17292 commit e9d862f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ AM_CXXFLAGS=$(DISPATCH_CFLAGS) $(CXXBLOCKS_FLAGS)
5757
AM_OBJCXXFLAGS=$(DISPATCH_CFLAGS) $(CXXBLOCKS_FLAGS)
5858

5959
if BUILD_OWN_PTHREAD_WORKQUEUES
60-
PTHREAD_WORKQUEUE_LIBS=../libpwq/libpthread_workqueue.la
61-
PTHREAD_WORKQUEUE_CFLAGS=-I../libpwq/include
60+
PTHREAD_WORKQUEUE_LIBS=$(top_builddir)/libpwq/libpthread_workqueue.la
61+
PTHREAD_WORKQUEUE_CFLAGS=-I$(top_srcdir)/libpwq/include
6262
else
6363
if HAVE_PTHREAD_WORKQUEUES
6464
PTHREAD_WORKQUEUE_LIBS=-lpthread_workqueue

0 commit comments

Comments
 (0)