diff Makefile @ 572:5a06c3552026 libavcodec

BeOS patches by "shatty" <shatty at myrealbox.com> 1. errno's are negative on beos, so negating them gives positive values. 2. the -shared flag is -nostart on beos. 3. building the shared lib on beos requires -fomit-frame-pointer 4. beos doesn't have oss support
author michaelni
date Fri, 19 Jul 2002 22:23:40 +0000
parents 0a9259126188
children b0f52172f4c5
line wrap: on
line diff
--- a/Makefile	Thu Jul 18 20:27:09 2002 +0000
+++ b/Makefile	Fri Jul 19 22:23:40 2002 +0000
@@ -85,7 +85,7 @@
 	$(AR) rc $@ $(OBJS)
 
 $(SLIB): $(OBJS)
-	$(CC) -shared -o $@ $(OBJS) $(EXTRALIBS)
+	$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
 
 dsputil.o: dsputil.c dsputil.h