summaryrefslogtreecommitdiff
path: root/m4/efl.m4
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-19 19:42:57 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-07-30 17:40:57 +0200
commitbc0d74c28172de9b19e1622a886ef58e9625dba5 (patch)
tree9464ad8569100674713ff99e4b8e265440c9190c /m4/efl.m4
parentc87dd2214c17aaba6fe420816c1c13c9a76dc570 (diff)
build: fix rpath for binaries which use ecore-x dependencies
somehow ecore-x explicitly pulls in ${libdir}/libX11.so at link-time, which causes libtool to add ${libdir} to the rpath executable wrappers before the remainder of the in-tree efl paths. this causes binaries run from these wrappers (e.g., tests, built-time tools such as codegens) to use system libraries instead of in-tree libraries @fix Differential Revision: https://phab.enlightenment.org/D6635
Diffstat (limited to 'm4/efl.m4')
-rw-r--r--m4/efl.m418
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index 0514ba04e1..75e08ecc9b 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -188,9 +188,9 @@ case "m4_defn([DOWNOTHER])" in
188 ;; 188 ;;
189esac 189esac
190requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}" 190requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}"
191requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNEFL])}" 191requirements_cflags_[]m4_defn([DOWNEFL])="${requirements_cflags_[][]m4_defn([DOWNEFL])} -I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname}"
192requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}" 192requirements_internal_libs_[]m4_defn([DOWNEFL])="${requirements_internal_libs_[][]m4_defn([DOWNEFL])} lib/${libdirname}/lib${libname}.la"
193requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_public_libs_[]m4_defn([DOWNOTHER])} ${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])}" 193requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])} ${requirements_public_libs_[]m4_defn([DOWNOTHER])}"
194m4_popdef([DOWNOTHER])dnl 194m4_popdef([DOWNOTHER])dnl
195m4_popdef([DOWNEFL])dnl 195m4_popdef([DOWNEFL])dnl
196]) 196])
@@ -224,10 +224,10 @@ dnl the given EFL will use/depend on system crypto settings
224AC_DEFUN([EFL_CRYPTO_DEPEND], 224AC_DEFUN([EFL_CRYPTO_DEPEND],
225[dnl 225[dnl
226m4_pushdef([DOWNEFL], m4_translit([$1], [-A-Z], [_a-z]))dnl 226m4_pushdef([DOWNEFL], m4_translit([$1], [-A-Z], [_a-z]))dnl
227requirements_pc_[]m4_defn([DOWNEFL])="${requirements_pc_crypto} ${requirements_pc_[][]m4_defn([DOWNEFL])}" 227requirements_pc_[]m4_defn([DOWNEFL])="${requirements_pc_[][]m4_defn([DOWNEFL])} ${requirements_pc_crypto}"
228requirements_pc_deps_[]m4_defn([DOWNEFL])="${requirements_pc_deps_crypto} ${requirements_pc_deps_[][]m4_defn([DOWNEFL])}" 228requirements_pc_deps_[]m4_defn([DOWNEFL])="${requirements_pc_deps_[][]m4_defn([DOWNEFL])} ${requirements_pc_deps_crypto}"
229requirements_libs_[]m4_defn([DOWNEFL])="${requirements_libs_crypto} ${requirements_libs_[][]m4_defn([DOWNEFL])}" 229requirements_libs_[]m4_defn([DOWNEFL])="${requirements_libs_[][]m4_defn([DOWNEFL])} ${requirements_libs_crypto}"
230requirements_cflags_[]m4_defn([DOWNEFL])="${requirements_cflags_crypto} ${requirements_cflags_[][]m4_defn([DOWNEFL])}" 230requirements_cflags_[]m4_defn([DOWNEFL])="${requirements_cflags_[][]m4_defn([DOWNEFL])} ${requirements_cflags_crypto}"
231m4_popdef([DOWNEFL])dnl 231m4_popdef([DOWNEFL])dnl
232]) 232])
233 233
@@ -245,8 +245,8 @@ m4_pushdef([DOWNNAME], m4_translit([$2], [-A-Z], [_a-z]))dnl
245 245
246 EFL_PKG_CHECK_STRICT([$3], [ 246 EFL_PKG_CHECK_STRICT([$3], [
247 AC_DEFINE([HAVE_]m4_defn([UPNAME]), [1], [Have `]m4_defn([DOWNNAME])[' pkg-config installed.]) 247 AC_DEFINE([HAVE_]m4_defn([UPNAME]), [1], [Have `]m4_defn([DOWNNAME])[' pkg-config installed.])
248 requirements_pc_[]m4_defn([DOWNEFL])="$3 ${requirements_pc_[][]m4_defn([DOWNEFL])}" 248 requirements_pc_[]m4_defn([DOWNEFL])="${requirements_pc_[][]m4_defn([DOWNEFL])} $3"
249 requirements_pc_deps_[]m4_defn([DOWNEFL])="$3 ${requirements_pc_deps_[]m4_defn([DOWNEFL])}" 249 requirements_pc_deps_[]m4_defn([DOWNEFL])="${requirements_pc_deps_[]m4_defn([DOWNEFL])} $3"
250 have_[]m4_defn([DOWNNAME])="yes" 250 have_[]m4_defn([DOWNNAME])="yes"
251 251
252 $4 252 $4