Link programs with $(LINK), not $(CC).

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5000 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-05-31 18:05:21 +00:00
parent 0b691923cc
commit 99c23f7634
19 changed files with 41 additions and 22 deletions

View File

@@ -8,6 +8,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
LINK = @LINK@
AR = ar
LN_S = @LN_S@
RANLIB = @RANLIB@

View File

@@ -8,6 +8,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
@@ -82,6 +83,6 @@ $(OBJECTS): ../../../include/config.h
$(LIB): $(OBJECTS)
rm -f $@
$(LDSHARED) -o $@ $(OBJECTS) $(LD_FLAGS) $(LIB_DEPS)
# $(CC) -shared -Wl,-x -o $(LIB) $(OBJECTS) ../../kafs/libkafs.a ../../krb/libkrb.a ../../des/libdes.a
# $(LINK) -shared -Wl,-x -o $(LIB) $(OBJECTS) ../../kafs/libkafs.a ../../krb/libkrb.a ../../des/libdes.a
.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean dist

View File

@@ -8,6 +8,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@