Fix installation path on FreeBSD and DragonFly (#1589)

This commit is contained in:
Mateusz Piotrowski 2020-02-19 05:33:51 +01:00 committed by GitHub
parent aed212b618
commit 1849fb2196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -88,10 +88,10 @@ LIBDATADIR = $(LIBDIR)
ifndef USE_GENERIC_LIBDATADIR ifndef USE_GENERIC_LIBDATADIR
ifeq ($(UNAME_S), FreeBSD) ifeq ($(UNAME_S), FreeBSD)
LIBDATADIR = $(PREFIX)/libdata LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
endif endif
ifeq ($(UNAME_S), DragonFly) ifeq ($(UNAME_S), DragonFly)
LIBDATADIR = $(PREFIX)/libdata LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
endif endif
endif endif