]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost_blk/Makefile
build/pkg-config: improve static linking flags
[dpdk.git] / examples / vhost_blk / Makefile
index 39244320d831f26f1f2566753c05774e01dfa37e..39527917841fd9a9da462baa95c167c6f74f1a21 100644 (file)
@@ -25,7 +25,7 @@ LDFLAGS += -pthread
 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)
 
 CFLAGS += -DALLOW_EXPERIMENTAL_API