[gjs] build: Use -R instead of -rpath
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] build: Use -R instead of -rpath
- Date: Wed, 26 Nov 2014 21:27:31 +0000 (UTC)
commit 7eafe015998a3f5505505bf7858857c184a66d00
Author: Philip Chimento <philip chimento gmail com>
Date: Wed Oct 1 00:38:14 2014 -0700
build: Use -R instead of -rpath
When linking with libtool, you are supposed to use -R, not -rpath. This
caused a build failure on OSX due to two -rpath options being given in
one invocation of ld, which libtool fixes when you use -R.
https://bugzilla.gnome.org/show_bug.cgi?id=737702
Makefile-insttest.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index bee59f9..58f75b4 100644
--- a/Makefile-insttest.am
+++ b/Makefile-insttest.am
@@ -53,7 +53,7 @@ endif
# This rpath /nowhere thing is the libtool upstream recommended way to
# force generation of shared libraries, which we need in order for the
# tests to work uninstalled.
-common_test_ldflags = -avoid-version -rpath /nowhere
+common_test_ldflags = -avoid-version -R /nowhere
common_test_libadd = $(GJS_LIBS)
nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]