This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 64bit] lsaauth: skip 32bit DLL on 64bit target


2013-02-14  Yaakov Selkowitz  <yselkowitz@...>

	* Makefile.in: Do not build or install 32bit DLL for 64bit target.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/lsaauth/Makefile.in,v
retrieving revision 1.6.2.2
diff -u -p -r1.6.2.2 Makefile.in
--- Makefile.in	23 Nov 2012 15:14:39 -0000	1.6.2.2
+++ Makefile.in	15 Feb 2013 01:15:48 -0000
@@ -46,9 +46,11 @@ WIN32_LDFLAGS	:= $(CFLAGS) -nostdlib -Wl
 # not recognized by LSA.
 LIBS		:= -ladvapi32 -lkernel32 -lntdll
 
+ifneq ($(target_alias),x86_64-pc-cygwin)
 DLL32	:=	cyglsa.dll
 DEF32	:=	cyglsa.def
 OBJ32	:=	cyglsa.o
+endif
 
 DLL64	:=	cyglsa64.dll
 DEF64	:=	cyglsa64.def
@@ -84,6 +86,8 @@ clean:
 
 install: all
 	/bin/mkdir -p $(DESTDIR)$(bindir)
+ifneq ($(target_alias),x86_64-pc-cygwin)
 	$(INSTALL_PROGRAM) $(DLL32) $(DESTDIR)$(bindir)/$(DLL32)
+endif
 	$(INSTALL_PROGRAM) $(DLL64) $(DESTDIR)$(bindir)/$(DLL64)
 	$(INSTALL_PROGRAM) $(srcdir)/cyglsa-config $(DESTDIR)$(bindir)/cyglsa-config

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]