diff options
| -rw-r--r-- | recipes-graphics/userland/userland_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 6ba28c0..5bf4dda 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
| @@ -32,6 +32,14 @@ inherit cmake pkgconfig | |||
| 32 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" | 32 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" |
| 33 | CFLAGS_append = " -fPIC" | 33 | CFLAGS_append = " -fPIC" |
| 34 | 34 | ||
| 35 | do_install_append () { | ||
| 36 | for f in `find ${D}${includedir}/interface/vcos/ -name "*.h"`; do | ||
| 37 | sed -i 's/include "vcos_platform.h"/include "pthreads\/vcos_platform.h"/g' ${f} | ||
| 38 | sed -i 's/include "vcos_futex_mutex.h"/include "pthreads\/vcos_futex_mutex.h"/g' ${f} | ||
| 39 | sed -i 's/include "vcos_platform_types.h"/include "pthreads\/vcos_platform_types.h"/g' ${f} | ||
| 40 | done | ||
| 41 | } | ||
| 42 | |||
| 35 | # Shared libs from userland package build aren't versioned, so we need | 43 | # Shared libs from userland package build aren't versioned, so we need |
| 36 | # to force the .so files into the runtime package (and keep them | 44 | # to force the .so files into the runtime package (and keep them |
| 37 | # out of -dev package). | 45 | # out of -dev package). |
