Makefile compatibility fix for install prefix

This commit is contained in:
Jarcode
2019-08-28 00:54:36 -07:00
parent 69ebfe9714
commit 99f0274e07

View File

@@ -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