summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-12-03 17:45:16 +0000
committerVincent Sanders <vince@kyllikki.org>2019-12-03 17:46:17 +0000
commit2cebe260582e646252052209d61fb78513566046 (patch)
treec0d5163be2af9e4c7a046bc255f9d7cfca10921f
parent3a8317fddb979f95ff7ae3a6c2f44f95fe1723c1 (diff)
downloadnetsurf-master.tar.gz
netsurf-master.tar.bz2
enforce setting subtarget so gtk2 gets named the correct thing in installsHEADmaster
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 166bf81a0..f8b5e9ca4 100644
--- a/Makefile
+++ b/Makefile
@@ -303,13 +303,8 @@ else
else
ifeq ($(TARGET),gtk2)
override TARGET := gtk
- ifeq ($(origin NETSURF_GTK_MAJOR),undefined)
- override NETSURF_GTK_MAJOR := 2
- else
- ifneq ($(NETSURF_GTK_MAJOR),2)
- SUBTARGET = $(NETSURF_GTK_MAJOR)
- endif
- endif
+ override NETSURF_GTK_MAJOR := 2
+ SUBTARGET = $(NETSURF_GTK_MAJOR)
endif
endif
endif