diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2009-09-21 23:25:00 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2009-09-21 23:25:00 +0800 |
commit | 57a0e927db704a492848c0c6b32e37f22e91ff08 (patch) | |
tree | 8231e3f921ef792086d565d3f699c7931126aafe | |
parent | c7032460527f744d251f0124531d23e955c859ac (diff) |
build: use the plugin_dir
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 0107d35..3676ef0 100644 --- a/configure.ac +++ b/configure.ac @@ -112,14 +112,6 @@ AC_CHECK_FUNCS([gst_type_find_helper_for_extension]) CFLAGS=$saved_CFLAGS LIBS=$saved_LIBS -dnl set the plugindir where plugins should be installed -if test "x${prefix}" = "x$HOME"; then - ppsdir="$HOME/.gstreamer-$GST_MAJORMINOR/plugins" -else - ppsdir="\$(libdir)/gstreamer-$GST_MAJORMINOR" -fi -AC_SUBST(ppsdir) - dnl set proper LDFLAGS for plugins GST_PPS_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*' AC_SUBST(GST_PPS_LDFLAGS) diff --git a/src/Makefile.am b/src/Makefile.am index 497ee51..e3482a1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -pps_LTLIBRARIES = libgstppssrc.la +plugin_LTLIBRARIES = libgstppssrc.la libgstppssrc_la_SOURCES = gstppssrc.c aes.c |