]> git.pld-linux.org Git - packages/libebml.git/blob - libebml-makefile.patch
25988e9a2ce85ed601677350266ce7c22c159791
[packages/libebml.git] / libebml-makefile.patch
1 --- libebml-0.4.4/make/linux/Makefile.orig      2003-06-29 17:52:28.000000000 +0200
2 +++ libebml-0.4.4/make/linux/Makefile   2003-06-29 17:53:09.000000000 +0200
3 @@ -43,7 +43,7 @@
4  LIBS=
5  
6  # Names
7 -LIBRARY=libebml.a
8 +LIBRARY=libebml
9  
10  # source-files
11  sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
12 @@ -68,10 +68,10 @@
13         $(CXX) -c $(CXXFLAGS) $(INCLUDE) -o $@ $<
14  
15  $(LIBRARY): $(objects)
16 -       $(AR) $@ $(objects)
17 -       $(RANLIB) $@
18 -#      $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
19 -#      ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}
20 +       $(AR) $@.a $(objects)
21 +       $(RANLIB) $@.a
22 +       $(LD) $(LDFLAGS) -o $@.so $^ $(LIBS)
23 +
24  
25  clean:
26         rm -f $(objects)
27 --- libebml-0.4.4/make/linux/Makefile~  2003-06-29 18:18:36.000000000 +0200
28 +++ libebml-0.4.4/make/linux/Makefile   2003-06-29 18:20:03.000000000 +0200
29 @@ -85,7 +85,8 @@
30  
31  install: $(LIBRARY)
32         $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
33 -       $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
34 +       $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY).so $(libdir)
35 +       $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY).a $(libdir)
36         $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
37         for i in $(SRC_DIR)/*.h; do \
38                 $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
This page took 0.034593 seconds and 2 git commands to generate.