Skip to content

Commit

Permalink
Fix build when python is not available #1358
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Mar 5, 2018
1 parent 9ea8a84 commit 828e578
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions src-cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,4 @@ install: lib-install

clean: lib-clean

ifeq ($(WITH_LDS),y)
# Enable linker script if supported by platform
LIB_LDFLAGS+= $(LDFLAG_LINKERSCRIPT)$(LIBNAME).lds
endif

$(LIBNAME).lds: $(HDRS)
@(printf "$(MKL_YELLOW)Generating linker script $@ from $(HDRS)$(MKL_CLR_RESET)\n" ; \
cat ../src/rdkafka.h | ../lds-gen.py > $@)

-include $(DEPS)
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ $(SRCS_LZ4:.c=.o): CFLAGS:=$(CFLAGS) -O3
ifeq ($(WITH_LDS),y)
# Enable linker script if supported by platform
LIB_LDFLAGS+= $(LDFLAG_LINKERSCRIPT)$(LIBNAME).lds
endif

$(LIBNAME).lds: $(HDRS)
@(printf "$(MKL_YELLOW)Generating linker script $@ from $(HDRS)$(MKL_CLR_RESET)\n" ; \
cat $(HDRS) | ../lds-gen.py > $@)
endif

-include $(DEPS)

0 comments on commit 828e578

Please sign in to comment.