]> git.droids-corp.org - dpdk.git/blobdiff - examples/packet_ordering/Makefile
build/pkg-config: improve static linking flags
[dpdk.git] / examples / packet_ordering / Makefile
index f5b68c97e882fea2b34319f26767d311760a5210..f99b69dc25b8eb7a9e07683f0f8777c046ce184b 100644 (file)
@@ -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)