Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
ea11e29c
Commit
ea11e29c
authored
Jan 14, 2021
by
Isuru Fernando
Browse files
don't backup path
parent
85dbb092
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
configure_build.sh
configure_build.sh
+1
-2
No files found.
configure_build.sh
View file @
ea11e29c
...
...
@@ -61,7 +61,6 @@ fi
export
CPPFLAGS_BACKUP
=
"
$CPPFLAGS
"
export
LIBRARY_PATH_BACKUP
=
"
$LIBRARY_PATH
"
export
PKG_CONFIG_PATH_BACKUP
=
"
$PKG_CONFIG_PATH
"
export
PATH_BACKUP
=
"
$PATH
"
function
update_env_for_build_prefix
{
# Promote BUILD_PREFIX on search path to any newly built libs
...
...
@@ -69,7 +68,7 @@ function update_env_for_build_prefix {
export
LIBRARY_PATH
=
"
$BUILD_PREFIX
/lib:
$LIBRARY_PATH_BACKUP
"
export
PKG_CONFIG_PATH
=
"
$BUILD_PREFIX
/lib/pkgconfig/:
$PKG_CONFIG_PATH_BACKUP
"
# Add binary path for configure utils etc
export
PATH
=
"
$BUILD_PREFIX
/bin:
$PATH
_BACKUP
"
export
PATH
=
"
$BUILD_PREFIX
/bin:
$PATH
"
}
update_env_for_build_prefix
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment