Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
5a9fb433
Commit
5a9fb433
authored
7 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
PKG: some platforms need LD_LIBRARY_PATH to expose python libs
parent
54cca79e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Packaging/Files/otbenv.profile
+0
-15
0 additions, 15 deletions
Packaging/Files/otbenv.profile
with
0 additions
and
15 deletions
Packaging/Files/otbenv.profile
+
0
−
15
View file @
5a9fb433
...
...
@@ -23,24 +23,9 @@
# So if you run again from a terminal. you need to run the script again
# see how this is sourced in monteverdi.sh and mapla.sh
# unset any existing LD_LIBRARY_PATH
unset
LD_LIBRARY_PATH
CMAKE_PREFIX_PATH
=
OUT_DIR
export
CMAKE_PREFIX_PATH
# if OTB_USE_LOCAL_GTK is set to one,
# we must include ./lib/gtk because gtklibs are installed there.
# OTB_USE_LOCAL_GTK is not set by default (use GTK system)
#This code only affect linux system. for osx OUT_DIR/lib/gtk does not exists
if
[
"
$OTB_USE_LOCAL_GTK
"
=
"1"
];
then
if
[
-
d
"OUT_DIR/lib/gtk"
];
then
LD_LIBRARY_PATH
=
OUT_DIR
/
lib
/
gtk
export
LD_LIBRARY_PATH
fi
fi
# check and set OTB_APPLICATION_PATH
if
[
-
z
"
$OTB_APPLICATION_PATH
"
]
||
[
"
$OTB_APPLICATION_PATH
"
=
""
];
then
OTB_APPLICATION_PATH
=
OUT_DIR
/
lib
/
otb
/
applications
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment