17 lines
906 B
Plaintext
17 lines
906 B
Plaintext
$OpenBSD: patch-directory_c-sdk_build_mk,v 1.1 2004/12/27 21:21:39 wilfried Exp $
|
|
--- directory/c-sdk/build.mk.orig Tue Sep 14 22:59:40 2004
|
|
+++ directory/c-sdk/build.mk Wed Nov 10 21:50:22 2004
|
|
@@ -410,10 +410,10 @@ else
|
|
LINK_LIB = $(RM) $@; $(AR) $(AR_FLAGS) $(OBJS); $(RANLIB) $@
|
|
LINK_LIB2 = $(RM) $@; $(AR) $@ $(OBJS2); $(RANLIB) $@
|
|
ifdef SONAMEFLAG_PREFIX
|
|
-LINK_DLL = $(LD) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
|
+LINK_DLL = $(CC) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
|
-o $@ $(SONAMEFLAG_PREFIX)$(notdir $@) $(OBJS)
|
|
else # SONAMEFLAG_PREFIX
|
|
-LINK_DLL = $(LD) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
|
+LINK_DLL = $(CC) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
|
-o $@ $(OBJS)
|
|
endif # SONAMEFLAG_PREFIX
|
|
endif #!os2
|