libname: treat FreeBSD and DragonFly like linux and sunos

There is no difference in the way libnames are handle between FreeBSD
and linux or sunos. FreeBSD and DragonFly prefers having sonames as well
This commit is contained in:
Baptiste Daroussin
2020-04-03 06:20:42 +02:00
parent 806f89166e
commit 41e802443a
3 changed files with 6 additions and 6 deletions

View File

@@ -126,7 +126,7 @@ endif
dllinit.$(SUFFIX) : dllinit.c
$(CC) $(CFLAGS) -c -o $(@F) -s $<
ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku))
ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku FreeBSD DragonFly))
so : ../$(LIBSONAME)
@@ -171,7 +171,7 @@ endif
endif
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD OpenBSD NetBSD DragonFly))
ifeq ($(OSNAME), $(filter $(OSNAME),OpenBSD NetBSD))
so : ../$(LIBSONAME)