mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-28 01:59:24 +01:00
Compile the afc plugin statically
This commit is contained in:
parent
73657ccaaa
commit
3535e5b954
@ -15,7 +15,7 @@ set(SOURCES
|
||||
main.c
|
||||
)
|
||||
|
||||
add_library(gstafcsrc SHARED
|
||||
add_library(gstafcsrc STATIC
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
|
@ -25,7 +25,7 @@ static gboolean afcsrc_init(GstPlugin* afcsrc) {
|
||||
return gst_element_register(afcsrc, "afcsrc", GST_RANK_PRIMARY, GST_TYPE_AFCSRC);
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE(
|
||||
GST_PLUGIN_DEFINE_STATIC(
|
||||
GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
"afcsrc",
|
||||
|
@ -601,6 +601,7 @@ if(HAVE_IMOBILEDEVICE)
|
||||
target_link_libraries(clementine_lib
|
||||
${IMOBILEDEVICE_LIBRARIES}
|
||||
${PLIST_LIBRARIES}
|
||||
gstafcsrc
|
||||
)
|
||||
endif(HAVE_IMOBILEDEVICE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user