X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fskeleton%2FMakefile;h=5f5acf715903cffed562cc172cfeaf8ede0c3abc;hb=8549295db07b1f5777a314ee0b75f768e7ec4913;hp=2612688c0e8e87dfcce45e7eaa87d70546ce39e7;hpb=78d44153de8f7041ff35cb2c676fac8b9488f753;p=dpdk.git 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)