contrib: force dataroot, include and lib directory as we want them
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 30 May 2014 14:29:34 +0000 (22:29 +0800)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 3 Jun 2014 06:05:57 +0000 (14:05 +0800)
This overrides any autotools site configuration.

contrib/src/main.mak

index ae01fea..bc8743f 100644 (file)
@@ -254,6 +254,9 @@ endif
 # Common helpers
 #
 HOSTCONF := --prefix="$(PREFIX)"
+HOSTCONF += --datarootdir="$(PREFIX)/share"
+HOSTCONF += --includedir="$(PREFIX)/include"
+HOSTCONF += --libdir="$(PREFIX)/lib"
 HOSTCONF += --build="$(BUILD)" --host="$(HOST)" --target="$(HOST)"
 HOSTCONF += --program-prefix=""
 # libtool stuff: