[rygel] Buildsystem: Drop harcoded -shared -fPIC flags



commit 0d2159a7a59fad250e02f039b38d4fa8a7c8e211
Author: Reynaldo H. Verdejo Pinochet <reynaldo collabora com>
Date:   Fri Aug 30 13:18:25 2013 -0400

    Buildsystem: Drop harcoded -shared -fPIC flags
    
    This fix gets around a libtool's "cannot build a shared library"
    error when crosscompiling/linking media-engine-simple with
    Android's NDK r8e toolchain. These flags are being correctly
    handled by auto*/libtool (as they probably should).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707146

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3e67688..e0ca7a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -378,7 +378,7 @@ AS_IF([test "x$enable_valadoc" != "xno"], [
 AM_CONDITIONAL(ENABLE_VALADOC, test x$found_valadoc = xyes)
 
 AC_SUBST([RYGEL_PLUGIN_LINKER_FLAGS],
-         ["-shared -fPIC -module -avoid-version -Wl,-z,defs"])
+         ["-module -avoid-version -Wl,-z,defs"])
 AC_SUBST([RYGEL_PLUGIN_DIR],
          [${libdir}/rygel-2.0/plugins])
 AC_SUBST([RYGEL_MEDIA_ENGINE_DIR],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]