Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wanghuo-open
meta-ros
Commits
41d0aea6
Commit
41d0aea6
authored
5 years ago
by
Herb Kuta
Browse files
Options
Download
Email Patches
Plain Diff
wxwidgets: Use SSTATE_SCAN_FILES to fixup what wx-config points to instead of do_install_prepend
parent
85f906d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-extended/wxwidgets/wxwidgets_3.0.4.bb
+3
-5
recipes-extended/wxwidgets/wxwidgets_3.0.4.bb
with
3 additions
and
5 deletions
+3
-5
recipes-extended/wxwidgets/wxwidgets_3.0.4.bb
View file @
41d0aea6
...
...
@@ -24,6 +24,7 @@ EXTRA_OECONF = " --with-opengl \
--disable-rpath \
"
CXXFLAGS := "${@oe.utils.str_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}"
CXXFLAGS += "-std=gnu++11"
...
...
@@ -32,11 +33,8 @@ do_configure() {
oe_runconf
}
# wx-config contains entries like this:
# this_prefix=`check_dirname "/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/wxwidgets/2.9.5-r0/wxWidgets-2.9.5"`
do_install_prepend() {
sed -i -e s:${S}:${STAGING_DIR_HOST}${prefix}:g ${S}/wx-config
}
# wx-config is a symlink to a file that starts with TARGET_PREFIX (and is under ${libdir}/wx/config/).
SSTATE_SCAN_FILES += "${TARGET_PREFIX}*"
SYSROOT_PREPROCESS_FUNCS += "wxwidgets_sysroot_preprocess"
wxwidgets_sysroot_preprocess () {
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help