From 2d1dbc5a29e6410888fd7736931b992240d2fa26 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 4 Jun 2008 20:29:51 +0000 Subject: [PATCH] Re-generated Makefiles --- src/target/Makefile | 4 ++-- src/target/project.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/Makefile b/src/target/Makefile index 5d9f1a8..0788687 100644 --- a/src/target/Makefile +++ b/src/target/Makefile @@ -8,7 +8,7 @@ CFLAGSF = -W CFLAGS = -Wall -g -fPIC AR = ar -rc RANLIB = ranlib -LD = ld -shared +LD = $(CC) -shared RM = rm -f MKDIR = mkdir -p INSTALL = install @@ -24,7 +24,7 @@ as.a: $(as_OBJS) $(RANLIB) as.a as.so: $(as_OBJS) - $(LD) -o as.so $(as_OBJS) -L $(LIBDIR) -rpath $(LIBDIR) -l as + $(LD) -o as.so $(as_OBJS) -L $(LIBDIR) -Wl,-rpath $(LIBDIR) -l as graph_OBJS = graph.o graph_CFLAGS = $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) diff --git a/src/target/project.conf b/src/target/project.conf index 803cbb6..77cd74d 100644 --- a/src/target/project.conf +++ b/src/target/project.conf @@ -6,7 +6,7 @@ targets=as,graph [as] type=library sources=as.c -ldflags=-L $(LIBDIR) -rpath $(LIBDIR) -l as +ldflags=-L $(LIBDIR) -Wl,-rpath $(LIBDIR) -l as install=$(LIBDIR)/c99/target [graph]