From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680127.outbound.protection.outlook.com [40.107.68.127]) by dpdk.org (Postfix) with ESMTP id DF1533256 for ; Thu, 28 Mar 2019 20:29:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqBW4IQTPRe0hQUO4beM3Eyfg5YsaZfbu6/Ag9fA9pg=; b=Q6KcbxtYvWUeHZ1RbgPQC9vqYRX0vdN4m2mpwf4PFgwHbMRk/Dp2UG6dR/inZy3BWYB1WEXzB1A0ULuCUprXirkHA0U2vXXDky9fRrxg5+QXYV7+lXoXckvcfWJb3avaAtCV0RiuAiJww6fltx8QEGxLNWj7V22UEc1+EYfYk8c= ARC-Seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=qdEDMDaU3D5byQvsK6u5Lqx3uOgRh/2SHPpFMxvLx+6scgj/UijhMsShGooDJMd3x8GN5vgur9oRbItlET4AToED4oD2l6WqgSV6Q5Y82D5BfRMfPShsHTn6db9qJJA2h9acHwP+0VxE7X2Y2TN3IrL+XO2e+bSfKFiJTCmo3Mo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqBW4IQTPRe0hQUO4beM3Eyfg5YsaZfbu6/Ag9fA9pg=; b=EWIFI6A3xGZye7pH1aNBtWC22hwdwvSjipUU9JTCR7EQ6vWeJor08BQUEz6TouGKxlXmBYDNXYKy7baW/X40IbXvoMAOvwu6TmnVPLF4RqJUB+P0OsQhH5WKEWe33chPs8drqAfNvEMOkoadm+dIUzXrK6jxDHJfqSRLDS/Gxvc= ARC-Authentication-Results: =?us-ascii?Q?i=3D1; _test.office365.com_1; =0D=0A=09=09dmarc=3Dnone_action?= =?us-ascii?Q?=3Dnone_header.from=3Dmicrosoft.com;=0D=0A=09=09arc=3Dnone?= Received: from MWHPR21MB0638.namprd21.prod.outlook.com (10.175.141.139) by MWHPR21MB0768.namprd21.prod.outlook.com (10.173.51.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.1771.2; Thu, 28 Mar 2019 19:29:10 +0000 Received: from MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983]) by MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983%3]) with mapi id 15.20.1771.002; Thu, 28 Mar 2019 19:29:10 +0000 From: Harini Ramakrishnan To: Anand Rawat , "dev@dpdk.org" CC: "pallavi.kadam@intel.com" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@intel.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for windows Thread-Index: AQHU5Q0DCdnoM//w6kes4fd+SWtv6qYhbswg Date: Thu, 28 Mar 2019 19:29:10 +0000 Message-ID: References: <20190306041634.12976-1-anand.rawat@intel.com> <20190328022115.4660-1-anand.rawat@intel.com> <20190328022115.4660-4-anand.rawat@intel.com> In-Reply-To: <20190328022115.4660-4-anand.rawat@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=haramakr@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-03-28T19:29:07.3381962Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=971db75f-6793-4c23-9d37-e14f8c8497e7; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [2001:4898:80e8:a:84e2:1334:627:d48e] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90c389cf-1982-4019-086e-08d6b3b3a743 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:MWHPR21MB0768; x-ms-traffictypediagnostic: MWHPR21MB0768: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Harini.Ramakrishnan@microsoft.com; x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(136003)(396003)(39860400002)(376002)(189003)(199004)(13464003)(6116002)(186003)(25786009)(102836004)(6506007)(256004)(8936002)(68736007)(105586002)(53546011)(4326008)(71190400001)(99286004)(486006)(2906002)(71200400001)(476003)(81166006)(11346002)(446003)(74316002)(46003)(9686003)(33656002)(305945005)(7736002)(22452003)(10090500001)(86612001)(54906003)(110136005)(8990500004)(55016002)(316002)(2501003)(81156014)(53936002)(76176011)(7696005)(6436002)(5660300002)(52536014)(10290500003)(72206003)(14454004)(97736004)(229853002)(106356001)(6246003)(86362001)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0768; H:MWHPR21MB0638.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FDSk8Pef3/l+C1wRQM4bIP3GMrnmiaHmEr7dfXDh/gV79pqyjO1ltlOyJ6mtEeaTsHcF4PePxrrvxZiXdQS8hlBIWVECHw2p8urdNgK21sZhzZIM75ybmEuw7GCFAUOzPt8qXxtRUxrPidb80KeE36w5YtzWudYVsWiAJGgsLapccq+sVA4eD+67JHofklZczEfPGJiUf1cRfxve8OEM4c4B77p3EhyISbFp+W3MzzchZIiJNunWnkShmGISLR+1og/zLS6flXJtKZgbzyS1ZP9zahmgPdYuw7nGtbybmmTonmeQs41zvDKwTuz/FcB4K8LhsZIAAA98HAwsR8W6qqwyFSg80Gm5BIfie3/LHeakeVmR8J53eApgV7Ib4VR/o9qJ1ag57c6P72bNPM5LkC3GFsiVn2oQof++fzWwuio= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90c389cf-1982-4019-086e-08d6b3b3a743 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 19:29:10.5479 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0768 Subject: Re: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 19:29:12 -0000 Acked-by: Harini Ramakrishnan -----Original Message----- From: dev On Behalf Of Anand Rawat Sent: Wednesday, March 27, 2019 7:21 PM To: dev@dpdk.org Cc: anand.rawat@intel.com; pallavi.kadam@intel.com; ranjit.menon@intel.com;= jeffrey.b.shaw@intel.com; bruce.richardson@intel.com; thomas@monjalon.net Subject: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for wi= ndows Updated lib/meson.build to create shared libraries on windows. Added DEF files to list the exports for the eal and kvargs libraries. Signed-off-by: Bruce Richardson Signed-off-by: Anand Rawat Reviewed-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/rte_eal_exports.def | 9 +++++++++ lib/librte_kvargs/rte_kvargs_exports.def | 7 +++++++ lib/meson.build | 12 ++++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 lib/= librte_eal/rte_eal_exports.def create mode 100644 lib/librte_kvargs/rte_kvargs_exports.def diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_ex= ports.def new file mode 100644 index 000000000..12a6c79d6 --- /dev/null +++ b/lib/librte_eal/rte_eal_exports.def @@ -0,0 +1,9 @@ +EXPORTS + __rte_panic + rte_eal_get_configuration + rte_eal_init + rte_eal_mp_remote_launch + rte_eal_mp_wait_lcore + rte_eal_remote_launch + rte_log + rte_vlog diff --git a/lib/librte_kvargs/rte_kvargs_exports.def b/lib/librte_kvargs/r= te_kvargs_exports.def new file mode 100644 index 000000000..10e839e00 --- /dev/null +++ b/lib/librte_kvargs/rte_kvargs_exports.def @@ -0,0 +1,7 @@ +EXPORTS + rte_kvargs_count + rte_kvargs_free + rte_kvargs_parse + rte_kvargs_process + rte_kvargs_parse_delim + rte_kvargs_strcmp diff --git a/lib/meson.build b/lib/meson.build index a81faf0ed..9cba4662e 1= 00644 --- a/lib/meson.build +++ b/lib/meson.build @@ -122,14 +122,22 @@ foreach l:libraries objs +=3D static_lib.extract_all_objects(recursive: false) version_map =3D '@0@/@1@/rte_@2@_version.map'.format( meson.current_source_dir(), dir_name, name) + exports =3D '@0@/@1@/rte_@2@_exports.def'.format( + meson.current_source_dir(), dir_name, name) + implib =3D dir_name + '.dll.a' + if host_machine.system() =3D=3D 'windows' + lk_args =3D ['-Wl,/def:' + exports, '-Wl,/implib:lib\\' + implib] + else + lk_args =3D ['-Wl,--version-script=3D' + version_map] + endif shared_lib =3D shared_library(libname, sources, objects: objs, c_args: cflags, dependencies: shared_deps, include_directories: includes, - link_args: '-Wl,--version-script=3D' + version_map, - link_depends: version_map, + link_args: lk_args, + link_depends: [version_map, exports], version: lib_version, soversion: so_version, install: true) -- 2.17.1.windows.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 68BE3A0679 for ; Thu, 28 Mar 2019 20:29:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B3D737A2; Thu, 28 Mar 2019 20:29:13 +0100 (CET) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680127.outbound.protection.outlook.com [40.107.68.127]) by dpdk.org (Postfix) with ESMTP id DF1533256 for ; Thu, 28 Mar 2019 20:29:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqBW4IQTPRe0hQUO4beM3Eyfg5YsaZfbu6/Ag9fA9pg=; b=Q6KcbxtYvWUeHZ1RbgPQC9vqYRX0vdN4m2mpwf4PFgwHbMRk/Dp2UG6dR/inZy3BWYB1WEXzB1A0ULuCUprXirkHA0U2vXXDky9fRrxg5+QXYV7+lXoXckvcfWJb3avaAtCV0RiuAiJww6fltx8QEGxLNWj7V22UEc1+EYfYk8c= ARC-Seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=qdEDMDaU3D5byQvsK6u5Lqx3uOgRh/2SHPpFMxvLx+6scgj/UijhMsShGooDJMd3x8GN5vgur9oRbItlET4AToED4oD2l6WqgSV6Q5Y82D5BfRMfPShsHTn6db9qJJA2h9acHwP+0VxE7X2Y2TN3IrL+XO2e+bSfKFiJTCmo3Mo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqBW4IQTPRe0hQUO4beM3Eyfg5YsaZfbu6/Ag9fA9pg=; b=EWIFI6A3xGZye7pH1aNBtWC22hwdwvSjipUU9JTCR7EQ6vWeJor08BQUEz6TouGKxlXmBYDNXYKy7baW/X40IbXvoMAOvwu6TmnVPLF4RqJUB+P0OsQhH5WKEWe33chPs8drqAfNvEMOkoadm+dIUzXrK6jxDHJfqSRLDS/Gxvc= ARC-Authentication-Results: =?us-ascii?Q?i=3D1; _test.office365.com_1; =0D=0A=09=09dmarc=3Dnone_action?= =?us-ascii?Q?=3Dnone_header.from=3Dmicrosoft.com;=0D=0A=09=09arc=3Dnone?= Received: from MWHPR21MB0638.namprd21.prod.outlook.com (10.175.141.139) by MWHPR21MB0768.namprd21.prod.outlook.com (10.173.51.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.1771.2; Thu, 28 Mar 2019 19:29:10 +0000 Received: from MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983]) by MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983%3]) with mapi id 15.20.1771.002; Thu, 28 Mar 2019 19:29:10 +0000 From: Harini Ramakrishnan To: Anand Rawat , "dev@dpdk.org" CC: "pallavi.kadam@intel.com" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@intel.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for windows Thread-Index: AQHU5Q0DCdnoM//w6kes4fd+SWtv6qYhbswg Date: Thu, 28 Mar 2019 19:29:10 +0000 Message-ID: References: <20190306041634.12976-1-anand.rawat@intel.com> <20190328022115.4660-1-anand.rawat@intel.com> <20190328022115.4660-4-anand.rawat@intel.com> In-Reply-To: <20190328022115.4660-4-anand.rawat@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=haramakr@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-03-28T19:29:07.3381962Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=971db75f-6793-4c23-9d37-e14f8c8497e7; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [2001:4898:80e8:a:84e2:1334:627:d48e] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90c389cf-1982-4019-086e-08d6b3b3a743 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:MWHPR21MB0768; x-ms-traffictypediagnostic: MWHPR21MB0768: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Harini.Ramakrishnan@microsoft.com; x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(136003)(396003)(39860400002)(376002)(189003)(199004)(13464003)(6116002)(186003)(25786009)(102836004)(6506007)(256004)(8936002)(68736007)(105586002)(53546011)(4326008)(71190400001)(99286004)(486006)(2906002)(71200400001)(476003)(81166006)(11346002)(446003)(74316002)(46003)(9686003)(33656002)(305945005)(7736002)(22452003)(10090500001)(86612001)(54906003)(110136005)(8990500004)(55016002)(316002)(2501003)(81156014)(53936002)(76176011)(7696005)(6436002)(5660300002)(52536014)(10290500003)(72206003)(14454004)(97736004)(229853002)(106356001)(6246003)(86362001)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0768; H:MWHPR21MB0638.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FDSk8Pef3/l+C1wRQM4bIP3GMrnmiaHmEr7dfXDh/gV79pqyjO1ltlOyJ6mtEeaTsHcF4PePxrrvxZiXdQS8hlBIWVECHw2p8urdNgK21sZhzZIM75ybmEuw7GCFAUOzPt8qXxtRUxrPidb80KeE36w5YtzWudYVsWiAJGgsLapccq+sVA4eD+67JHofklZczEfPGJiUf1cRfxve8OEM4c4B77p3EhyISbFp+W3MzzchZIiJNunWnkShmGISLR+1og/zLS6flXJtKZgbzyS1ZP9zahmgPdYuw7nGtbybmmTonmeQs41zvDKwTuz/FcB4K8LhsZIAAA98HAwsR8W6qqwyFSg80Gm5BIfie3/LHeakeVmR8J53eApgV7Ib4VR/o9qJ1ag57c6P72bNPM5LkC3GFsiVn2oQof++fzWwuio= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90c389cf-1982-4019-086e-08d6b3b3a743 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 19:29:10.5479 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0768 Subject: Re: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190328192910.ZiFG-FBJEu9-3cxeOxZCKZApHExlLWnVh7ISxjgmClY@z> Acked-by: Harini Ramakrishnan -----Original Message----- From: dev On Behalf Of Anand Rawat Sent: Wednesday, March 27, 2019 7:21 PM To: dev@dpdk.org Cc: anand.rawat@intel.com; pallavi.kadam@intel.com; ranjit.menon@intel.com;= jeffrey.b.shaw@intel.com; bruce.richardson@intel.com; thomas@monjalon.net Subject: [dpdk-dev] [PATCH v6 3/8] build: add module definition file for wi= ndows Updated lib/meson.build to create shared libraries on windows. Added DEF files to list the exports for the eal and kvargs libraries. Signed-off-by: Bruce Richardson Signed-off-by: Anand Rawat Reviewed-by: Pallavi Kadam Reviewed-by: Ranjit Menon --- lib/librte_eal/rte_eal_exports.def | 9 +++++++++ lib/librte_kvargs/rte_kvargs_exports.def | 7 +++++++ lib/meson.build | 12 ++++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 lib/= librte_eal/rte_eal_exports.def create mode 100644 lib/librte_kvargs/rte_kvargs_exports.def diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_ex= ports.def new file mode 100644 index 000000000..12a6c79d6 --- /dev/null +++ b/lib/librte_eal/rte_eal_exports.def @@ -0,0 +1,9 @@ +EXPORTS + __rte_panic + rte_eal_get_configuration + rte_eal_init + rte_eal_mp_remote_launch + rte_eal_mp_wait_lcore + rte_eal_remote_launch + rte_log + rte_vlog diff --git a/lib/librte_kvargs/rte_kvargs_exports.def b/lib/librte_kvargs/r= te_kvargs_exports.def new file mode 100644 index 000000000..10e839e00 --- /dev/null +++ b/lib/librte_kvargs/rte_kvargs_exports.def @@ -0,0 +1,7 @@ +EXPORTS + rte_kvargs_count + rte_kvargs_free + rte_kvargs_parse + rte_kvargs_process + rte_kvargs_parse_delim + rte_kvargs_strcmp diff --git a/lib/meson.build b/lib/meson.build index a81faf0ed..9cba4662e 1= 00644 --- a/lib/meson.build +++ b/lib/meson.build @@ -122,14 +122,22 @@ foreach l:libraries objs +=3D static_lib.extract_all_objects(recursive: false) version_map =3D '@0@/@1@/rte_@2@_version.map'.format( meson.current_source_dir(), dir_name, name) + exports =3D '@0@/@1@/rte_@2@_exports.def'.format( + meson.current_source_dir(), dir_name, name) + implib =3D dir_name + '.dll.a' + if host_machine.system() =3D=3D 'windows' + lk_args =3D ['-Wl,/def:' + exports, '-Wl,/implib:lib\\' + implib] + else + lk_args =3D ['-Wl,--version-script=3D' + version_map] + endif shared_lib =3D shared_library(libname, sources, objects: objs, c_args: cflags, dependencies: shared_deps, include_directories: includes, - link_args: '-Wl,--version-script=3D' + version_map, - link_depends: version_map, + link_args: lk_args, + link_depends: [version_map, exports], version: lib_version, soversion: so_version, install: true) -- 2.17.1.windows.2