pcmanfm: link against libX11 to avoid build failure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Dec 2012 23:13:21 +0000 (23:13 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 19 Dec 2012 13:49:14 +0000 (14:49 +0100)
commita831505a3d32ef8839b7a12eee4b91ad594779ac
tree8dfbcde3187e4befd965ed6dede5b2153948bae9
parente51fd21cc4e58d6f9b8baad6e5d4a922b4e5841a
pcmanfm: link against libX11 to avoid build failure

Fixes:

/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: fm-desktop.o: undefined reference to symbol 'XSendEvent'
/home/test/outputs/allpkg/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: note: 'XSendEvent' is defined in DSO /home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6 so try adding it to the linker command line
/home/test/outputs/allpkg/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [pcmanfm] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pcmanfm/pcmanfm-link-against-libx11.patch [new file with mode: 0644]
package/pcmanfm/pcmanfm.mk