X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=examples%2Fskeleton%2FMakefile;h=5f5acf715903cffed562cc172cfeaf8ede0c3abc;hp=2612688c0e8e87dfcce45e7eaa87d70546ce39e7;hb=8549295db07b1f5777a314ee0b75f768e7ec4913;hpb=f9c0b1f4319ea4f40ee2ceb8097c9a5a34a56171 diff --git a/examples/skeleton/Makefile b/examples/skeleton/Makefile index 2612688c0e..5f5acf7159 100644 --- a/examples/skeleton/Makefile +++ b/examples/skeleton/Makefile @@ -22,7 +22,7 @@ PKGCONF ?= pkg-config PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null) CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk) LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk) -LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk) +LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk) build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build $(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)