net: add rte prefix to ICMP structure
[dpdk.git] / lib / meson.build
index a7b5a91..e067ce5 100644 (file)
@@ -22,7 +22,7 @@ libraries = [
        'gro', 'gso', 'ip_frag', 'jobstats',
        'kni', 'latencystats', 'lpm', 'member',
        'power', 'pdump', 'rawdev',
-       'reorder', 'sched', 'security', 'vhost',
+       'rcu', 'reorder', 'sched', 'security', 'stack', 'vhost',
        #ipsec lib depends on crypto and security
        'ipsec',
        # add pkt framework libs which use other libs from above
@@ -30,6 +30,10 @@ libraries = [
        # flow_classify lib depends on pkt framework table lib
        'flow_classify', 'bpf', 'telemetry']
 
+if is_windows
+       libraries = ['kvargs','eal'] # only supported libraries for windows
+endif
+
 default_cflags = machine_args
 if cc.has_argument('-Wno-format-truncation')
        default_cflags += '-Wno-format-truncation'
@@ -119,7 +123,7 @@ foreach l:libraries
                                        meson.current_source_dir(), dir_name, name)
                        exports = []
                        implib = dir_name + '.dll.a'
-                       if host_machine.system() == 'windows'
+                       if is_windows
                                exports = '@0@/@1@/rte_@2@_exports.def'.format(
                                        meson.current_source_dir(), dir_name, name)
                                lk_args = ['-Wl,/def:' + exports, '-Wl,/implib:lib\\' + implib]