WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=503d608ba5736692e90d6b885a2f30dac718e3a9
commit 503d608ba5736692e90d6b885a2f30dac718e3a9 Author: Stephen M Houston <[email protected]> Date: Thu Feb 8 14:27:33 2018 -0800 Wiki page sandbox_gadgets.md changed with summary [] by Stephen M Houston --- pages/develop/e/sandbox_gadgets.md.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/develop/e/sandbox_gadgets.md.txt b/pages/develop/e/sandbox_gadgets.md.txt index 991030110..7c78f5976 100644 --- a/pages/develop/e/sandbox_gadgets.md.txt +++ b/pages/develop/e/sandbox_gadgets.md.txt @@ -573,6 +573,8 @@ build_files = [ executable('e_gadget_helloworld', build_files, dependencies: deps, + c_args : ['-fPIE', '-fPIC'], + link_args : ['-rdynamic', '-pie'], install_dir: join_paths([dir_gadgets, 'helloworld']), install: true) @@ -584,8 +586,11 @@ configure_file(input: 'helloworld.desktop.in', install_dir: join_paths([dir_gadgets, 'helloworld']), configuration: desktop_data) ``` - -This "meson.build" file determines the location Enlightenment will look for gadgets. This location is Enlightenment's library folder, followed by a sub directory string consisting of "gadgets/os-processor-enlightenmentversion". Once the location is determined, the meson file will install the "helloworld" binary and "helloworld.desktop" files to that location. Keep in mind when installing the ".desktop" file to Enlightenment's gadget directory that the file must have the same name as the [...] +This "meson.build" file determines the location Enlightenment will look for gadgets. This location is Enlightenment's library folder, followed by a sub directory string consisting of "gadgets/os-processor-enlightenmentversion". Once the location is determined, the meson file will install the "helloworld" binary and "helloworld.desktop" files to that location. Keep in mind when installing the ".desktop" file to Enlightenment's gadget directory that the file must have the same name as the [...] +``` + c_args : ['-fPIE', '-fPIC'], + link_args : ['-rdynamic', '-pie'], +``` Run the following commands in order, from the directory where you placed the three files, to install the gadget: --
