openbsd-ports/net/h323plus/patches/patch-src_make_lib_mak
ajacoutot 1dee274ea8 Don't patch out -Wl,-soname...
H323 and friends use their own build system and getting rid of the
libfoo.so -> libfoo.so.X.Y symlink would be a nightmare to maintain.
So soname is mandatory.
2019-01-06 10:36:55 +00:00

18 lines
416 B
Plaintext

$OpenBSD: patch-src_make_lib_mak,v 1.4 2019/01/06 10:36:55 ajacoutot Exp $
Make sure LIB_SONAME is versioned (.so.X.Y versus .so).
--- src/make/lib.mak.orig Thu Dec 5 10:27:57 2013
+++ src/make/lib.mak Fri Apr 25 11:30:28 2014
@@ -42,6 +42,10 @@ else
endif
endif
+ifeq ($(OSTYPE),OpenBSD)
+ LIBNAME_PAT = $(LIB_FILENAME).${LIBh323_VERSION}
+endif
+
LIB_SONAME = $(LIBNAME_PAT)
ifneq ($(P_SHAREDLIB),1)