mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
enforce setting subtarget so gtk2 gets named the correct thing in installs
This commit is contained in:
parent
3a8317fddb
commit
2cebe26058
5
Makefile
5
Makefile
@ -303,10 +303,7 @@ 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
|
||||||
else
|
|
||||||
ifneq ($(NETSURF_GTK_MAJOR),2)
|
|
||||||
SUBTARGET = $(NETSURF_GTK_MAJOR)
|
SUBTARGET = $(NETSURF_GTK_MAJOR)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -317,8 +314,6 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# compiler versioning to adjust warning flags
|
# compiler versioning to adjust warning flags
|
||||||
CC_VERSION := $(shell $(CC) -dumpfullversion -dumpversion)
|
CC_VERSION := $(shell $(CC) -dumpfullversion -dumpversion)
|
||||||
|
Loading…
Reference in New Issue
Block a user