enforce setting subtarget so gtk2 gets named the correct thing in installs

This commit is contained in:
Vincent Sanders 2019-12-03 17:45:16 +00:00
parent 3a8317fddb
commit 2cebe26058
1 changed files with 2 additions and 7 deletions

View File

@ -303,13 +303,8 @@ else
else else
ifeq ($(TARGET),gtk2) ifeq ($(TARGET),gtk2)
override TARGET := gtk override TARGET := gtk
ifeq ($(origin NETSURF_GTK_MAJOR),undefined) override NETSURF_GTK_MAJOR := 2
override NETSURF_GTK_MAJOR := 2 SUBTARGET = $(NETSURF_GTK_MAJOR)
else
ifneq ($(NETSURF_GTK_MAJOR),2)
SUBTARGET = $(NETSURF_GTK_MAJOR)
endif
endif
endif endif
endif endif
endif endif