diff --git a/examples/Makefile b/examples/Makefile index 3452610e986..7f11d23dfd8 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -3,10 +3,10 @@ TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%-bdb,$(SRCS)) CPPFLAGS = -I../include -D_GNU_SOURCE CFLAGS = -g -std=c99 -Wall -Wextra -Werror -Wno-missing-field-initializers ifeq ($(USE_STATIC_LIBS),1) -LIBTOKUDB = tokudb_static +LIBTOKUDB = tokufractaltree_static LIBTOKUPORTABILITY = tokuportability_static else -LIBTOKUDB = tokudb +LIBTOKUDB = tokufractaltree LIBTOKUPORTABILITY = tokuportability endif LDFLAGS = -L../lib -l$(LIBTOKUDB) -l$(LIBTOKUPORTABILITY) -Wl,-rpath,../lib -lpthread -lz -ldl