[smuxi: 5/8] build: set libray path for 'run' target on OS X.
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 5/8] build: set libray path for 'run' target on OS X.
- Date: Mon, 6 Apr 2015 18:23:44 +0000 (UTC)
commit 4b62bce41e46e72a8978526d86b60fc0f2f3cb89
Author: Carlos MartÃn Nieto <cmn dwim me>
Date: Sun Mar 29 20:32:37 2015 +0200
build: set libray path for 'run' target on OS X.
When we're on OS X, some of the libraries we need aren't readily
available from the system. We must therefore set up a fallback path for
the linker to look in mono's library dir, where e.g. libintl lives.
We do this in the script for Smuxi.app already, so let's use the same
paths in the Makefile.
Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7d7dba5..6b0b1b9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -313,6 +313,9 @@ dist-linux-debs:
run: run-gnome
run-gnome: all
+ if [ "x$(shell uname)" = "xDarwin" ]; then \
+ export
DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib; \
+ fi; \
cd $(BUILD_DIR) && \
mono --debug ./smuxi-frontend-gnome.exe -d
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]