diff options
Diffstat (limited to 'Build/source/libs/libpng/libpng-src/scripts/makefile.sco')
-rw-r--r-- | Build/source/libs/libpng/libpng-src/scripts/makefile.sco | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/libs/libpng/libpng-src/scripts/makefile.sco b/Build/source/libs/libpng/libpng-src/scripts/makefile.sco index 002cd3f9b3b..8a8e50ffc7e 100644 --- a/Build/source/libs/libpng/libpng-src/scripts/makefile.sco +++ b/Build/source/libs/libpng/libpng-src/scripts/makefile.sco @@ -1,7 +1,7 @@ # makefile for SCO OSr5 ELF and Unixware 7 with Native cc # Contributed by Mike Hopkirk (hops at sco.com) modified from Makefile.lnx # force ELF build dynamic linking, SONAME setting in lib and RPATH in app -# Copyright (C) 2020-2022 Cosmin Truta +# Copyright (C) 2020-2024 Cosmin Truta # Copyright (C) 2002, 2006, 2010-2014 Glenn Randers-Pehrson # Copyright (C) 1998 Greg Roelofs # Copyright (C) 1996, 1997 Andreas Dilger @@ -20,9 +20,8 @@ LIBSOMAJ=$(LIBNAME).so.$(PNGMAJ) # Utilities: CC=cc -AR_RC=ar rc +AR=ar RANLIB=echo -MKDIR_P=mkdir LN_SF=ln -f -s CP=cp RM_F=/bin/rm -f @@ -34,7 +33,8 @@ ZLIBLIB=../zlib ZLIBINC=../zlib CPPFLAGS=-I$(ZLIBINC) -CFLAGS= -dy -belf -O3 +CFLAGS=-dy -belf -O3 +ARFLAGS=rc LDFLAGS=-L. -L$(ZLIBLIB) -lpng16 -lz -lm # Pre-built configuration @@ -61,7 +61,7 @@ pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) $(CP) $(PNGLIBCONF_H_PREBUILT) $@ libpng.a: $(OBJS) - $(AR_RC) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(RANLIB) $@ $(LIBSO): $(LIBSOMAJ) |