]> git.pld-linux.org Git - packages/libebml.git/commitdiff
- fix build with cc with spaces AC-branch auto/ac/libebml-0_7_8-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 5 Aug 2010 19:56:20 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libebml.spec -> 1.28
    libtool-tag.patch -> 1.1

libebml.spec
libtool-tag.patch [new file with mode: 0644]

index d6e0233ab19cd21ba5ea19486372d06e347a2e19..917ca1bf9bf19c0202053eaed0983cd39d008e0e 100644 (file)
@@ -8,6 +8,7 @@ Group:          Libraries
 Source0:       http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
 # Source0-md5: 6278109f52e4f9d2c8a8dfc0d668b587
 Patch0:                %{name}-makefile.patch
 Source0:       http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
 # Source0-md5: 6278109f52e4f9d2c8a8dfc0d668b587
 Patch0:                %{name}-makefile.patch
+Patch1:                libtool-tag.patch
 URL:           http://www.matroska.org/
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 URL:           http://www.matroska.org/
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
@@ -51,6 +52,7 @@ Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego.
 %prep
 %setup -q
 %patch0 -p1
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -C make/linux \
 
 %build
 %{__make} -C make/linux \
diff --git a/libtool-tag.patch b/libtool-tag.patch
new file mode 100644 (file)
index 0000000..29c4a78
--- /dev/null
@@ -0,0 +1,15 @@
+--- libebml-0.7.8/make/linux/Makefile~ 2010-08-05 22:53:47.000000000 +0300
++++ libebml-0.7.8/make/linux/Makefile  2010-08-05 22:54:21.405342023 +0300
+@@ -82,10 +82,10 @@
+ # Build rules
+ %.lo: %$(EXTENSION)
+-      $(LIBTOOL) --mode=compile $(CXX) -c $(COMPILEFLAGS) -o $@ $<
++      $(LIBTOOL) --mode=compile --tag=CC $(CXX) -c $(COMPILEFLAGS) -o $@ $<
+ $(LIBRARY): $(objects)
+-      $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir)
++      $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir)
+ clean:
+       rm -f $(objects) $(objects_so)
This page took 0.131351 seconds and 4 git commands to generate.