openbsd-ports/lang/gcc/4.6/patches/patch-libobjc_Makefile_in
2011-11-14 13:00:55 +00:00

27 lines
918 B
Plaintext

$OpenBSD: patch-libobjc_Makefile_in,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- libobjc/Makefile.in.orig Sat Nov 12 14:09:37 2011
+++ libobjc/Makefile.in Sat Nov 12 14:11:18 2011
@@ -321,18 +321,20 @@ install-html:
install-pdf:
install-info:
+include $(top_srcdir)/../libversions
+
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
libobjc$(libsuffix).la: $(OBJS)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
-Wc,-shared-libgcc -rpath $(toolexeclibdir) \
- -version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc) \
+ $(LIBobjc_LTVERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)
libobjc_gc$(libsuffix).la: $(OBJS_GC)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) $(OBJC_BOEHM_GC_LIBS) \
-Wc,-shared-libgcc -rpath $(toolexeclibdir) \
- -version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc) \
+ $(LIBobjc_gc_LTVERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)
info: