ports/devel/libaura/files/patch-Makefile
2025-03-18 09:20:05 +03:00

21 lines
472 B
Text

--- Makefile.orig 2006-04-18 00:32:27 UTC
+++ Makefile
@@ -1,9 +1,6 @@
# Makefile for libaura.
# $Id: Makefile,v 1.20 2005/08/26 22:44:37 cpressey Exp $
-BASE?=../..
-include ${BASE}/Config
-
LIB= aura
LIB_VER=3
@@ -17,7 +14,7 @@ ${SONAME}: ${OBJS}
all: ${SONAME} ${ANAME}
${SONAME}: ${OBJS}
- ${CC} ${OBJS} -shared ${LDFLAGS} -o ${SONAME}
+ ${CC} ${OBJS} -shared ${LDFLAGS} -Wl,-soname,${SONAME} -o ${SONAME}
ln -sf ${SONAME} ${SOLINK}
${ANAME}: ${OBJS}