get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/53509/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 53509,
    "url": "http://patches.dpdk.org/api/patches/53509/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190517114734.7072-2-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20190517114734.7072-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190517114734.7072-2-bruce.richardson@intel.com",
    "date": "2019-05-17T11:47:30",
    "name": "[v2,1/5] examples: add support for relocated DPDK install",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3de399635799945da6687f02d2333769abc881c2",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190517114734.7072-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 4705,
            "url": "http://patches.dpdk.org/api/series/4705/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4705",
            "date": "2019-05-17T11:47:29",
            "name": "improve building examples",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4705/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53509/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/53509/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A5C615F0F;\n\tFri, 17 May 2019 13:47:47 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id A76515F21\n\tfor <dev@dpdk.org>; Fri, 17 May 2019 13:47:43 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 May 2019 04:47:43 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby orsmga008.jf.intel.com with ESMTP; 17 May 2019 04:47:41 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bluca@debian.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Fri, 17 May 2019 12:47:30 +0100",
        "Message-Id": "<20190517114734.7072-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190517114734.7072-1-bruce.richardson@intel.com>",
        "References": "<20190503133537.58712-1-bruce.richardson@intel.com>\n\t<20190517114734.7072-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 1/5] examples: add support for relocated DPDK\n\tinstall",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "For testing of DPDK, we want to override the prefix given by the\npkg-config file, so that we can get correct paths for DPDK installed\nin an unusual location.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/bbdev_app/Makefile             | 10 ++++++----\n examples/bond/Makefile                  | 10 ++++++----\n examples/cmdline/Makefile               | 10 ++++++----\n examples/distributor/Makefile           | 10 ++++++----\n examples/eventdev_pipeline/Makefile     | 10 ++++++----\n examples/exception_path/Makefile        | 10 ++++++----\n examples/fips_validation/Makefile       | 10 ++++++----\n examples/flow_classify/Makefile         | 10 ++++++----\n examples/flow_filtering/Makefile        | 10 ++++++----\n examples/helloworld/Makefile            | 10 ++++++----\n examples/ip_fragmentation/Makefile      | 10 ++++++----\n examples/ip_pipeline/Makefile           | 10 ++++++----\n examples/ip_reassembly/Makefile         | 10 ++++++----\n examples/ipsec-secgw/Makefile           | 10 ++++++----\n examples/ipv4_multicast/Makefile        | 10 ++++++----\n examples/kni/Makefile                   | 10 ++++++----\n examples/l2fwd-cat/Makefile             | 10 ++++++----\n examples/l2fwd-crypto/Makefile          | 10 ++++++----\n examples/l2fwd-jobstats/Makefile        | 10 ++++++----\n examples/l2fwd-keepalive/Makefile       | 10 ++++++----\n examples/l2fwd/Makefile                 | 10 ++++++----\n examples/l3fwd-acl/Makefile             | 10 ++++++----\n examples/l3fwd-power/Makefile           | 10 ++++++----\n examples/l3fwd-vf/Makefile              | 10 ++++++----\n examples/l3fwd/Makefile                 | 10 ++++++----\n examples/link_status_interrupt/Makefile | 10 ++++++----\n examples/load_balancer/Makefile         | 10 ++++++----\n examples/packet_ordering/Makefile       | 10 ++++++----\n examples/ptpclient/Makefile             | 10 ++++++----\n examples/qos_meter/Makefile             | 10 ++++++----\n examples/qos_sched/Makefile             | 10 ++++++----\n examples/rxtx_callbacks/Makefile        | 10 ++++++----\n examples/service_cores/Makefile         | 10 ++++++----\n examples/skeleton/Makefile              | 10 ++++++----\n examples/tep_termination/Makefile       | 10 ++++++----\n examples/timer/Makefile                 | 10 ++++++----\n examples/vhost/Makefile                 | 10 ++++++----\n examples/vhost_scsi/Makefile            | 10 ++++++----\n examples/vmdq/Makefile                  | 10 ++++++----\n examples/vmdq_dcb/Makefile              | 10 ++++++----\n 40 files changed, 240 insertions(+), 160 deletions(-)",
    "diff": "diff --git a/examples/bbdev_app/Makefile b/examples/bbdev_app/Makefile\nindex af313d926..2bf97e415 100644\n--- a/examples/bbdev_app/Makefile\n+++ b/examples/bbdev_app/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/bond/Makefile b/examples/bond/Makefile\nindex 278b5f690..96868f2fc 100644\n--- a/examples/bond/Makefile\n+++ b/examples/bond/Makefile\n@@ -20,10 +20,12 @@ static: build/$(APP)-static\n \n LDFLAGS += -lrte_pmd_bond\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/cmdline/Makefile b/examples/cmdline/Makefile\nindex 03d9ed3cc..9b757316f 100644\n--- a/examples/cmdline/Makefile\n+++ b/examples/cmdline/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/distributor/Makefile b/examples/distributor/Makefile\nindex 2edc0ea3d..6aa5e7a9e 100644\n--- a/examples/distributor/Makefile\n+++ b/examples/distributor/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/eventdev_pipeline/Makefile b/examples/eventdev_pipeline/Makefile\nindex 1d3394947..626d56024 100644\n--- a/examples/eventdev_pipeline/Makefile\n+++ b/examples/eventdev_pipeline/Makefile\n@@ -20,10 +20,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/exception_path/Makefile b/examples/exception_path/Makefile\nindex c3ba2787c..dc891b3d1 100644\n--- a/examples/exception_path/Makefile\n+++ b/examples/exception_path/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/fips_validation/Makefile b/examples/fips_validation/Makefile\nindex 19240911a..f8cbba592 100644\n--- a/examples/fips_validation/Makefile\n+++ b/examples/fips_validation/Makefile\n@@ -27,10 +27,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/flow_classify/Makefile b/examples/flow_classify/Makefile\nindex 182debcba..aca7772b4 100644\n--- a/examples/flow_classify/Makefile\n+++ b/examples/flow_classify/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/flow_filtering/Makefile b/examples/flow_filtering/Makefile\nindex b182a2a29..a64a10a08 100644\n--- a/examples/flow_filtering/Makefile\n+++ b/examples/flow_filtering/Makefile\n@@ -16,10 +16,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile\nindex 980b011fc..2ab294091 100644\n--- a/examples/helloworld/Makefile\n+++ b/examples/helloworld/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/ip_fragmentation/Makefile b/examples/ip_fragmentation/Makefile\nindex 56726d688..63b66ce25 100644\n--- a/examples/ip_fragmentation/Makefile\n+++ b/examples/ip_fragmentation/Makefile\n@@ -19,10 +19,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile\nindex acd93e29b..1553d705d 100644\n--- a/examples/ip_pipeline/Makefile\n+++ b/examples/ip_pipeline/Makefile\n@@ -31,10 +31,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -I.\n \ndiff --git a/examples/ip_reassembly/Makefile b/examples/ip_reassembly/Makefile\nindex 1baec86ad..5af5d63bd 100644\n--- a/examples/ip_reassembly/Makefile\n+++ b/examples/ip_reassembly/Makefile\n@@ -19,10 +19,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/ipsec-secgw/Makefile b/examples/ipsec-secgw/Makefile\nindex a2d8244e8..1bfaf3b9a 100644\n--- a/examples/ipsec-secgw/Makefile\n+++ b/examples/ipsec-secgw/Makefile\n@@ -29,10 +29,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/ipv4_multicast/Makefile b/examples/ipv4_multicast/Makefile\nindex 5595b9cbf..a03bfadbf 100644\n--- a/examples/ipv4_multicast/Makefile\n+++ b/examples/ipv4_multicast/Makefile\n@@ -19,10 +19,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/kni/Makefile b/examples/kni/Makefile\nindex e01703567..46f592692 100644\n--- a/examples/kni/Makefile\n+++ b/examples/kni/Makefile\n@@ -18,11 +18,13 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile\nindex b4f729a66..e83d406b0 100644\n--- a/examples/l2fwd-cat/Makefile\n+++ b/examples/l2fwd-cat/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n LDFLAGS += -lpqos\n \ndiff --git a/examples/l2fwd-crypto/Makefile b/examples/l2fwd-crypto/Makefile\nindex 3986a4c10..87d311193 100644\n--- a/examples/l2fwd-crypto/Makefile\n+++ b/examples/l2fwd-crypto/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l2fwd-jobstats/Makefile b/examples/l2fwd-jobstats/Makefile\nindex 4517a3d7d..d63ece8e3 100644\n--- a/examples/l2fwd-jobstats/Makefile\n+++ b/examples/l2fwd-jobstats/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l2fwd-keepalive/Makefile b/examples/l2fwd-keepalive/Makefile\nindex 56d0e0666..9b92bc238 100644\n--- a/examples/l2fwd-keepalive/Makefile\n+++ b/examples/l2fwd-keepalive/Makefile\n@@ -20,10 +20,12 @@ static: build/$(APP)-static\n \n LDFLAGS += -pthread -lrt\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l2fwd/Makefile b/examples/l2fwd/Makefile\nindex 43277318f..fb352e1b7 100644\n--- a/examples/l2fwd/Makefile\n+++ b/examples/l2fwd/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l3fwd-acl/Makefile b/examples/l3fwd-acl/Makefile\nindex b38343725..d12d3a987 100644\n--- a/examples/l3fwd-acl/Makefile\n+++ b/examples/l3fwd-acl/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l3fwd-power/Makefile b/examples/l3fwd-power/Makefile\nindex 8a4eee8ae..befb7555f 100644\n--- a/examples/l3fwd-power/Makefile\n+++ b/examples/l3fwd-power/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/l3fwd-vf/Makefile b/examples/l3fwd-vf/Makefile\nindex 8ad2fbcbc..892ecf38b 100644\n--- a/examples/l3fwd-vf/Makefile\n+++ b/examples/l3fwd-vf/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/l3fwd/Makefile b/examples/l3fwd/Makefile\nindex dcc38a928..52976880a 100644\n--- a/examples/l3fwd/Makefile\n+++ b/examples/l3fwd/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/link_status_interrupt/Makefile b/examples/link_status_interrupt/Makefile\nindex 987724d47..77774eda7 100644\n--- a/examples/link_status_interrupt/Makefile\n+++ b/examples/link_status_interrupt/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/load_balancer/Makefile b/examples/load_balancer/Makefile\nindex 935ee1591..09676a57c 100644\n--- a/examples/load_balancer/Makefile\n+++ b/examples/load_balancer/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/packet_ordering/Makefile b/examples/packet_ordering/Makefile\nindex 2c3187a41..eb01b2d5b 100644\n--- a/examples/packet_ordering/Makefile\n+++ b/examples/packet_ordering/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile\nindex 857a679b7..019476a7a 100644\n--- a/examples/ptpclient/Makefile\n+++ b/examples/ptpclient/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/qos_meter/Makefile b/examples/qos_meter/Makefile\nindex 7321f34f3..e4d170177 100644\n--- a/examples/qos_meter/Makefile\n+++ b/examples/qos_meter/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile\nindex 7012c3d4c..0c92c4866 100644\n--- a/examples/qos_sched/Makefile\n+++ b/examples/qos_sched/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/rxtx_callbacks/Makefile b/examples/rxtx_callbacks/Makefile\nindex 22c4013db..15866ca67 100644\n--- a/examples/rxtx_callbacks/Makefile\n+++ b/examples/rxtx_callbacks/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/service_cores/Makefile b/examples/service_cores/Makefile\nindex 1dcd4c62e..ae7d6478c 100644\n--- a/examples/service_cores/Makefile\n+++ b/examples/service_cores/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/skeleton/Makefile b/examples/skeleton/Makefile\nindex b9cd05f2f..68454a558 100644\n--- a/examples/skeleton/Makefile\n+++ b/examples/skeleton/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile\nindex 3782378d9..be5aa9a64 100644\n--- a/examples/tep_termination/Makefile\n+++ b/examples/tep_termination/Makefile\n@@ -20,10 +20,12 @@ static: build/$(APP)-static\n \n LDFLAGS += -pthread\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -Wno-deprecated-declarations\n \ndiff --git a/examples/timer/Makefile b/examples/timer/Makefile\nindex f49703ff4..d21e4c63c 100644\n--- a/examples/timer/Makefile\n+++ b/examples/timer/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex 9c3e0ece0..5e1400678 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -20,10 +20,12 @@ static: build/$(APP)-static\n \n LDFLAGS += -pthread\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \ndiff --git a/examples/vhost_scsi/Makefile b/examples/vhost_scsi/Makefile\nindex 813ab66a8..3ea37ebc6 100644\n--- a/examples/vhost_scsi/Makefile\n+++ b/examples/vhost_scsi/Makefile\n@@ -21,10 +21,12 @@ static: build/$(APP)-static\n CFLAGS += -D_FILE_OFFSET_BITS=64\n LDFLAGS += -pthread\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/vmdq/Makefile b/examples/vmdq/Makefile\nindex b67d1937f..dc1bc82d0 100644\n--- a/examples/vmdq/Makefile\n+++ b/examples/vmdq/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\ndiff --git a/examples/vmdq_dcb/Makefile b/examples/vmdq_dcb/Makefile\nindex 0ddcc320b..a77e78987 100644\n--- a/examples/vmdq_dcb/Makefile\n+++ b/examples/vmdq_dcb/Makefile\n@@ -18,10 +18,12 @@ shared: build/$(APP)-shared\n static: build/$(APP)-static\n \tln -sf $(APP)-static build/$(APP)\n \n-PC_FILE := $(shell pkg-config --path libdpdk)\n-CFLAGS += -O3 $(shell pkg-config --cflags libdpdk)\n-LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)\n-LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)\n+PKGCONF=pkg-config --define-prefix\n+\n+PC_FILE := $(shell $(PKGCONF) --path libdpdk)\n+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)\n \n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\n",
    "prefixes": [
        "v2",
        "1/5"
    ]
}