diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-02-11 18:12:42 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-02-11 18:12:42 +0000 |
commit | ff50d97b0f629cd1203e7a49d4d648a83c6c724d (patch) | |
tree | 23889d1a7b75c72edaf14332c3a0c2e2826363d7 /lib/libgnumalloc | |
parent | f21428af43172f2da3074e6e4cb3acc1cfccc9c7 (diff) | |
download | src-ff50d97b0f629cd1203e7a49d4d648a83c6c724d.tar.gz src-ff50d97b0f629cd1203e7a49d4d648a83c6c724d.zip |
Notes
Diffstat (limited to 'lib/libgnumalloc')
-rw-r--r-- | lib/libgnumalloc/Makefile | 16 | ||||
-rw-r--r-- | lib/libgnumalloc/cfree.c | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile new file mode 100644 index 000000000000..c8dbdffac905 --- /dev/null +++ b/lib/libgnumalloc/Makefile @@ -0,0 +1,16 @@ +# $Id$ + +LIB= fakegnumalloc +SRCS= fakegnumalloc.c +NOMAN= 1 + +afterinstall: + rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a + for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; \ + do if [ -d $$i ] ; then exit 0 ; fi ; done && \ + ( cd ${DESTDIR}${LIBDIR} && \ + rm -rf libgnumalloc* && \ + ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ) + +.include <bsd.lib.mk> diff --git a/lib/libgnumalloc/cfree.c b/lib/libgnumalloc/cfree.c new file mode 100644 index 000000000000..abaf931a710a --- /dev/null +++ b/lib/libgnumalloc/cfree.c @@ -0,0 +1 @@ +int fake_a_gnumalloc_lib() { return 1; } |