Go to file
Thomas Petazzoni 84be6912bb package/netsurf: use HOST_CFLAGS/HOST_LDFLAGS
In commit 9b0ac87538 ("package/netsurf:
make sure host libpng can be found"), the netsurf package was modified
to pass -L$(HOST_DIR)/lib so that libpng is found at link time.

However, this is not sufficient: for the host tool to work at runtime,
we need to have the proper RPATH encoded in the host
binary. Otherwise, building netsurf fails with:

build/Linux-framebuffer/tools/convert_image: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
make[3]: *** [build/Linux-framebuffer/image-caret_image.c] Error 127

So basically, we need to build not only with -L$(HOST_DIR)/lib, but
with the complete HOST_LDFLAGS provided by Buildroot.

For consistency, we also use HOST_CFLAGS instead of hardcoding
-I$(HOST_DIR)/include.

It is worth mentioning that we must use single quotes here, because
the NETSURF_CONFIG variable value then gets put within double quotes
to be passed to the netsurf build system.

Fixes:

  http://autobuild.buildroot.net/results/4ff6a8c4017d006a4b6b9ca369a569fa72862900/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-28 11:51:23 +01:00
arch arch: drop BR2_GCC_TARGET_CPU_REVISION option 2018-10-01 14:52:32 +02:00
board configs/lego_ev3: update to Linux kernel 4.19 and U-Boot 2018.11 2018-12-28 11:50:11 +01:00
boot boot/grub: fix grub-mkimage with binutils >= 2.31 2018-12-13 21:37:08 +01:00
configs configs/lego_ev3: update to Linux kernel 4.19 and U-Boot 2018.11 2018-12-28 11:50:11 +01:00
docs docs/manual: fix typo on Buildroot in adding-packages-waf.txt 2018-12-26 22:32:46 +01:00
fs fs/common.mk: make sure that static devices from packages are created 2018-12-04 21:53:14 +01:00
linux pcm-tools: new package 2018-12-08 10:44:05 +01:00
package package/netsurf: use HOST_CFLAGS/HOST_LDFLAGS 2018-12-28 11:51:23 +01:00
support Makefile: offload .gitlab-ci.yml generation 2018-12-09 21:30:24 +01:00
system system cfg: remove mkpasswd MD5 format option 2018-12-15 11:33:29 +01:00
toolchain Merge branch 'next' 2018-12-02 08:16:10 +01:00
utils utils/scanpypi: import third party modules after the standard ones 2018-12-10 11:46:36 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml .gitlab-ci.yml: regenerate for proper defconfig ordering 2018-12-16 16:14:56 +01:00
.gitlab-ci.yml.in .gitlab-ci.yml: store .config files as artefacts for defconfig tests 2018-12-09 17:31:13 +01:00
CHANGES Update for 2018.02.9 2018-12-20 14:21:49 +01:00
Config.in core/download: drop the SSH command 2018-11-19 22:11:31 +01:00
Config.in.legacy system cfg: remove mkpasswd MD5 format option 2018-12-15 11:33:29 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: remove Vicente Olivert Riera 2018-12-22 08:10:03 +01:00
Makefile Makefile: offload .gitlab-ci.yml generation 2018-12-09 21:30:24 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches