Skip to content

Commit

Permalink
Fixes build failure on ./configure && make --shuffle=2836571325
Browse files Browse the repository at this point in the history
./configure && make --shuffle=2836571325 fails.
The build fails on parallel builds for me and above command reproduces it.
Note that --shuffle options is available on make version >= 4.4
Target ffi_libname in src/Makefile should have a additional dependency
upon $(liburing_sobjs)

Signed-off-by: Kartik Mahajan <stonebrakert6@gmail.com>
  • Loading branch information
stonebrakert6 committed Jun 30, 2023
1 parent 04aefca commit c34dca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ liburing-ffi.a: $(liburing_objs) $(liburing_ffi_objs)
$(libname): $(liburing_sobjs) liburing.map
$(QUIET_CC)$(CC) $(SO_CFLAGS) -shared -Wl,--version-script=liburing.map -Wl,-soname=$(soname) -o $@ $(liburing_sobjs) $(LINK_FLAGS)

$(ffi_libname): $(liburing_ffi_objs) $(liburing_ffi_sobjs) liburing-ffi.map
$(ffi_libname): $(liburing_ffi_objs) $(liburing_ffi_sobjs) $(liburing_sobjs) liburing-ffi.map
$(QUIET_CC)$(CC) $(SO_CFLAGS) -shared -Wl,--version-script=liburing-ffi.map -Wl,-soname=$(ffi_soname) -o $@ $(liburing_sobjs) $(liburing_ffi_sobjs) $(LINK_FLAGS)

install: $(all_targets)
Expand Down

0 comments on commit c34dca7

Please sign in to comment.