Compile the afc plugin statically

This commit is contained in:
David Sansome 2010-08-01 17:41:04 +00:00
parent 73657ccaaa
commit 3535e5b954
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ set(SOURCES
main.c
)
add_library(gstafcsrc SHARED
add_library(gstafcsrc STATIC
${SOURCES}
)

View File

@ -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",

View File

@ -601,6 +601,7 @@ if(HAVE_IMOBILEDEVICE)
target_link_libraries(clementine_lib
${IMOBILEDEVICE_LIBRARIES}
${PLIST_LIBRARIES}
gstafcsrc
)
endif(HAVE_IMOBILEDEVICE)