openbsd-ports/databases/openldap/patches/gcc-libraries_liblutil_Makefile_in

14 lines
549 B
Plaintext

$OpenBSD: gcc-libraries_liblutil_Makefile_in,v 1.1 2002/01/29 06:10:22 pvalchev Exp $
--- libraries/liblutil/Makefile.in.orig Fri Jan 4 13:38:24 2002
+++ libraries/liblutil/Makefile.in Fri Jan 25 23:03:43 2002
@@ -31,6 +31,9 @@ CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DE
# It's ok for them to be here because the clean rule is harmless, and
# slapdmsg.res won't get built unless it's declared in OBJS.
+sha1.o: sha1.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) -I$(LDAP_INCDIR) -O0 -c $<
+
slapdmsg.res: slapdmsg.rc slapdmsg.bin
windres $< -O coff -o $@