openbsd-ports/lang/gcc/4.7/patches/patch-libobjc_Makefile_in
pascal f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00

27 lines
918 B
Plaintext

$OpenBSD: patch-libobjc_Makefile_in,v 1.1.1.1 2012/04/23 15:56:42 pascal Exp $
--- libobjc/Makefile.in.orig Wed Nov 2 16:28:43 2011
+++ libobjc/Makefile.in Mon Apr 2 17:00:38 2012
@@ -260,18 +260,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: