Replace `-shared' with some other option when not using gcc.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@695 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-08-30 00:51:45 +00:00
parent 3c3ee0aa53
commit 2c1490bd39
3 changed files with 6 additions and 6 deletions

View File

@@ -28,9 +28,9 @@ LIBNAME = libroken
#LIBEXT = @LIBEXT@ Always build archive library and don't install!
LIBEXT = a
SHLIBEXT = @SHLIBEXT@
SHARED = @SHARED@
LIB = $(LIBNAME).$(LIBEXT)
OBJECTS = k_getpwnam.o signal.o tm2time.o verify.o inaddr2str.o @LIBOBJS@
all: $(LIB)
@@ -75,6 +75,6 @@ $(LIBNAME).a: $(OBJECTS)
$(LIBNAME).$(SHLIBEXT): $(OBJECTS)
rm -f $@
$(CC) $(CFLAGS) $(PICFLAGS) -shared -o $@ $(OBJECTS) -L../../util/et -lcom_err
$(CC) $(CFLAGS) $(PICFLAGS) $(SHARED) -o $@ $(OBJECTS) -L../../util/et -lcom_err
$(OBJECTS): ../../config.h