1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| | Description: Don't strip -lgmodule-2.0 from RDYNAMIC_LIBS
Author: R Veera Kumar <vkor@vkten.in>
---
diff -uN a/configure b/configure
--- a/configure 2020-03-22 07:31:13.869314485 +0530
+++ b/configure 2020-03-22 07:33:25.295563550 +0530
@@ -18010,7 +18010,7 @@
fi
- RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
+ RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
LIBS="$LIBS $RDYNAMIC_FLAGS"
if test "$LD" = ""; then
VS="`ld --help | grep version-script 2> /dev/null`"
diff -uN a/configure.in b/configure.in
--- a/configure.in 2020-03-22 07:26:51.872539516 +0530
+++ b/configure.in 2020-03-22 07:32:28.192334665 +0530
@@ -445,8 +445,7 @@
if test "$have_dl" = yes; then
AC_DEFINE(USE_PLUGIN)
AC_PATH_PROG(pkgconfigpath, pkg-config)
- dnl we just need the -Wl,--export-dynamic, but not -lgmodule-2.0
- RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
+ RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
LIBS="$LIBS $RDYNAMIC_FLAGS"
if test "$LD" = ""; then
VS="`ld --help | grep version-script 2> /dev/null`"
|