Skip to content

Commit e03d3bb

Browse files
authored
Make install dependent on libs to avoid errors (#4562)
Make install dependent on libs to avoid errors with parallelism. Don't use passed libdir for librdkafka static dependencies built from source
1 parent 7632311 commit e03d3bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ file-check: CONFIGURATION.md LICENSES.txt examples
4040
check: file-check
4141
@(for d in $(LIBSUBDIRS); do $(MAKE) -C $$d $@ || exit $?; done)
4242

43-
install-subdirs:
43+
install-subdirs: libs
4444
@(for d in $(LIBSUBDIRS); do $(MAKE) -C $$d install || exit $?; done)
4545

4646
install: install-subdirs doc-install

mklove/modules/configure.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ function mkl_dep_install_source {
489489
# Build and install
490490
mkl_dbg "Building $name from source in $sdir (func $func)"
491491

492-
$func $name "$ddir" >$ilog 2>&1
492+
libdir="/usr/lib" $func $name "$ddir" >$ilog 2>&1
493493
retcode=$?
494494

495495
mkl_popd # $sdir

0 commit comments

Comments
 (0)