diff --git a/sys/wasapi/Makefile.am b/sys/wasapi/Makefile.am index 740c43ca5d..38fcd44afb 100644 --- a/sys/wasapi/Makefile.am +++ b/sys/wasapi/Makefile.am @@ -5,9 +5,9 @@ libgstwasapi_la_SOURCES = gstwasapi.c \ gstwasapisink.c \ gstwasapiutil.c -libgstwasapi_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DCOBJMACROS=1 -libgstwasapi_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ +libgstwasapi_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DCOBJMACROS=1 +libgstwasapi_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ + $(GST_BASE_LIBS) $(GST_LIBS) \ $(WASAPI_LIBS) libgstwasapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstwasapi_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)