port serdisplib to buildroot-ng
[openwrt/svn-archive/archive.git] / libs / serdisplib / patches / 101-test_shared.patch
1 diff -ru serdisplib-1.96.orig/src/Makefile.in serdisplib-1.96/src/Makefile.in
2 --- serdisplib-1.96.orig/src/Makefile.in 2005-10-19 01:12:42.000000000 +0200
3 +++ serdisplib-1.96/src/Makefile.in 2005-12-12 19:18:12.000000000 +0200
4 @@ -73,8 +73,8 @@
5 $(CC) -fPIC -shared -o $(LIB_DIR)/$(LIB_SHARED) $(LIB_OBJECTS)
6 cd $(LIB_DIR) && $(LN_S) -f $(LIB_SHARED) $(LIB_NAME).so
7
8 -testserdisp: $(LIB_DIR)/$(LIB_STATIC) $(OBJECTS)
9 - $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_STATIC)
10 +testserdisp: $(LIB_DIR)/$(LIB_SHARED) $(OBJECTS)
11 + $(CC) -o testserdisp $(OBJECTS) $(LIB_DIR)/$(LIB_SHARED)
12
13 clean:
14 /bin/rm -f $(OBJECTS) $(LIB_OBJECTS) $(LIB_DIR)/*.a $(LIB_DIR)/*.so*