I'm having a small issue with meson and enlightenment. It's ignoring my
'prefix' option. I'm building like this:

---

export LIBRAW_CFLAGS=-I/usr/include/libraw
export PKG_CONFIG_PATH=/opt/e22/lib/pkgconfig
export CFLAGS="-O3 -g3 -march=skylake -ffast-math -W -Wall -Wextra -Wshadow
-Wstrict-prototypes"

rm -rf build

meson . build

meson configure build \
 -Dprefix=/opt/e22 \
 -Dincludedir=/opt/e22 \
 -Dwayland=True

ninja -C build
ninja -C build install

---

If I cd into the enlightenment source and go:

 meson configure build

 ... it says it's recognised the 'prefix':

Directories:
  Option         Current Value Description
  ------         ------------- -----------
  prefix         /opt/e22      Installation prefix.

But when I do:

 ninja -C build install

 ... it installs into /usr/local/

If I do:

 DESTDIR=/opt/e22 ninja -C build install

 ... it puts things in /opt/e22/usr/local/ ... etc

I guess I'm doing something wrong. Any hints?

Dan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to