Makefile compatibility fix for install prefix
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,12 +6,12 @@ export CFLAGS
|
|||||||
|
|
||||||
BUILD_DIR = build
|
BUILD_DIR = build
|
||||||
|
|
||||||
MESON_CONF = $(BUILD_DIR) -Ddisable_obs=true
|
MESON_CONF = $(BUILD_DIR) -Ddisable_obs=true --prefix /usr
|
||||||
|
|
||||||
# Support assigning standalone/debug builds as the old Makefile did, otherwise complain
|
# Support assigning standalone/debug builds as the old Makefile did, otherwise complain
|
||||||
|
|
||||||
ifneq ($(BUILD),debug)
|
ifneq ($(BUILD),debug)
|
||||||
MESON_CONF += --prefix /usr --buildtype=release
|
MESON_CONF += --buildtype=release
|
||||||
ifdef BUILD
|
ifdef BUILD
|
||||||
@echo "WARNING: ignoring build option '$(BUILD)' in compatibility Makefile"
|
@echo "WARNING: ignoring build option '$(BUILD)' in compatibility Makefile"
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user