File libSGE-030809-no_static.patch of Package libSGE
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -11,7 +11,6 @@ API_VER = 0
OBJECTS=sge_surface.o sge_primitives.o sge_tt_text.o sge_bm_text.o sge_misc.o sge_textpp.o sge_blib.o sge_rotation.o sge_collision.o sge_shape.o
all: config $(OBJECTS)
- @ar rsc libSGE.a $(OBJECTS)
$(OBJECTS): %.o:%.cpp %.h #Each object depends on thier .cpp and .h file
$(CXX) $(CFLAGS) -c $<
@@ -74,7 +73,6 @@ install: shared
@mkdir -p $(DESTDIR)$(PREFIX_H)
install -c -m 644 sge*.h $(DESTDIR)$(PREFIX_H)
@mkdir -p $(DESTDIR)$(PREFIX)/lib
- install -c -m 644 libSGE.a $(DESTDIR)$(PREFIX)/lib
install -c libSGE.so $(DESTDIR)$(PREFIX)/lib/libSGE.so.$(API_VER).$(SGE_VER)
@cd $(DESTDIR)$(PREFIX)/lib;\
ln -sf libSGE.so.$(API_VER).$(SGE_VER) libSGE.so.$(API_VER);\