Skip to content

Commit 8b9c3a9

Browse files
committed
Merge pull request swiftlang#34 from dgrove-oss/autotools-fixs-for-build-integration
autotools fixes for build/test outside src dir
2 parents 8e78560 + 5d3e6de commit 8b9c3a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,6 @@ AC_CONFIG_FILES([Makefile dispatch/Makefile man/Makefile os/Makefile private/Mak
352352
#
353353
# Generate testsuite links
354354
#
355-
AC_CONFIG_LINKS([tests/dispatch:${x:+}private tests/leaks-wrapper:tests/leaks-wrapper.sh])
355+
AC_CONFIG_LINKS([tests/dispatch:$top_srcdir/private tests/leaks-wrapper:tests/leaks-wrapper.sh])
356356

357357
AC_OUTPUT

Diff for: tests/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if !BUILD_OWN_PTHREAD_WORKQUEUES
120120
endif
121121
endif
122122

123-
LDADD=libbsdtests.la ../src/libdispatch.la $(KQUEUE_LIBS) $(PTHREAD_WORKQUEUE_LIBS) $(BSD_OVERLAY_LIBS)
123+
LDADD=libbsdtests.la $(top_builddir)/src/libdispatch.la $(KQUEUE_LIBS) $(PTHREAD_WORKQUEUE_LIBS) $(BSD_OVERLAY_LIBS)
124124
libbsdtests_la_LDFLAGS=-avoid-version
125125

126126
bsdtestsummarize_LDADD=-lm $(BSD_OVERLAY_LIBS)

0 commit comments

Comments
 (0)