X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Fmeson.build;h=903117b8669c9c0e720c26cfcfc35508251b8be4;hb=d16331c054c4a7c36e3a16f0268203abaae44da1;hp=fd72d7da685d16aecf4e92537d91e72fbd09cc39;hpb=b031e13d7f0dc7cba9bc5befe968b67832021a59;p=dpdk.git diff --git a/app/meson.build b/app/meson.build index fd72d7da68..903117b866 100644 --- a/app/meson.build +++ b/app/meson.build @@ -26,7 +26,7 @@ lib_execinfo = cc.find_library('execinfo', required: false) default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API'] default_ldflags = [] -if get_option('default_library') == 'static' +if get_option('default_library') == 'static' and not is_windows default_ldflags += ['-Wl,--export-dynamic'] endif