svn commit: trunk/uClibc/test/dlopen

Peter S. Mazinger ps.m at gmx.net
Thu Jan 12 07:41:19 UTC 2006


On Wed, 11 Jan 2006 vapier at uclibc.org wrote:

> Author: vapier
> Date: 2006-01-11 15:48:40 -0800 (Wed, 11 Jan 2006)
> New Revision: 13245
> 
> Log:
> dont use LDFLAGS when just compiling
> 
> Modified:
>    trunk/uClibc/test/dlopen/Makefile
> 
> 
> Changeset:
> Modified: trunk/uClibc/test/dlopen/Makefile
> ===================================================================
> --- trunk/uClibc/test/dlopen/Makefile	2006-01-11 23:48:06 UTC (rev 13244)
> +++ trunk/uClibc/test/dlopen/Makefile	2006-01-11 23:48:40 UTC (rev 13245)
> @@ -33,10 +33,10 @@
>  	$(CC) $(CFLAGS) $(LDFLAGS) -o test3 test3.c -ldl ./libtest1.so ./libtest2.so
>  
>  libtest1.o: libtest1.c
> -	$(CC) $(CFLAGS) $(LDFLAGS) -fPIC -c libtest1.c -o libtest1.o
> +	$(CC) $(CFLAGS) -fPIC -c libtest1.c -o libtest1.o
>  
>  libtest2.o: libtest2.c
> -	$(CC) $(CFLAGS) $(LDFLAGS) -fPIC -c libtest2.c -o libtest2.o
> +	$(CC) $(CFLAGS) -fPIC -c libtest2.c -o libtest2.o
>  
>  libtest1.so: libtest1.o
>  	$(CC) $(CFLAGS) -fPIC -shared -o libtest1.so -Wl,-soname,libtest1.so libtest1.o ./libtest2.so

maybe use LDFLAGS for libtest1.so?

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list