Skip to content

Commit 38489c6

Browse files
committed
ON-16450: Fix ZF_DEVEL=1 builds
Fix the following build-time error: $ ZF_DEVEL=1 ONLOAD_TREE=... make ... /usr/bin/ld: cannot find -lciul1 collect2: error: ld returned 1 exit status A problem here was src/tests/zf_unit/Makefile.inc setting LD_FLAGS and these being passed to src/tests/trade_sim/Makefile indirectly via the top-level Makefile. It is only a problem when Onload is not installed in the OS.
1 parent 26d70a2 commit 38489c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tests/zf_unit/Makefile.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ $(UT_BINS): $(UT_BINDIR)/%: $(OBJ_CURRENT)/%.o
8585
$(UT_BINS): $(OBJ_CURRENT)/../tap/tap.o
8686
$(UT_BINS): $(ZF_STATIC_LIB) $(CIUL_LIB)
8787

88-
LDFLAGS += -lciul1
89-
9088
$(UT_BINS):
9189
@mkdir -p $(dir $@)
9290
$(CLINK) $^ -lm -lpthread -lrt -ldl -lstdc++ -o $@

0 commit comments

Comments
 (0)