openbsd-ports/graphics/ffmpeg/patches/patch-libavformat_Makefile
2003-09-26 14:40:29 +00:00

12 lines
399 B
Plaintext

$OpenBSD: patch-libavformat_Makefile,v 1.4 2003/09/26 14:40:29 jolan Exp $
--- libavformat/Makefile.orig 2003-08-24 17:29:50.000000000 -0500
+++ libavformat/Makefile 2003-09-26 02:47:26.000000000 -0500
@@ -68,6 +68,7 @@ endif
LIB= $(LIBPREF)avformat$(LIBSUF)
ifeq ($(BUILD_SHARED),yes)
SLIB= $(SLIBPREF)avformat$(SLIBSUF)
+CFLAGS += ${PIC} -DPIC
endif
SRCS := $(OBJS:.o=.c) $(PPOBJS:.o=.cpp)