[gjs/gnome-3-14] build: Use -R instead of -rpath
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-14] build: Use -R instead of -rpath
- Date: Wed, 26 Nov 2014 21:27:11 +0000 (UTC)
commit 8c53b7167b77a10c5c45982831eefc5ea022350d
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.
Makefile-insttest.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index 59d76e9..e13979a 100644
--- a/Makefile-insttest.am
+++ b/Makefile-insttest.am
@@ -40,7 +40,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]