diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-06-28 07:09:42 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-06-28 07:09:42 +0000 |
commit | ad200ee75734ef6634568abde68285dd439eb42b (patch) | |
tree | 021fc4e6a304a9942a9949953eeaa1bf597c0ba9 /src | |
parent | 0350c31d68339f2d462da801f1c03c6f93999f67 (diff) |
explicetly link against libc
backported from debian
svn path=/trunk/externals/iem/iem_ambi/; revision=17161
Diffstat (limited to 'src')
-rw-r--r-- | src/makefile_linux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/makefile_linux b/src/makefile_linux index a65bb40..22b9300 100644 --- a/src/makefile_linux +++ b/src/makefile_linux @@ -5,8 +5,8 @@ current: all PDSOURCE?=/usr/local/src/pd/src PD_INCLUDE = -I. -I$(PDSOURCE) -PD_LDFLAGS = -export-dynamic -shared -LIB = -lm +PD_LDFLAGS = -Wl,--export-dynamic -shared -fPIC +LIB = -lc -lm #select either the DBG and OPT compiler flags below: @@ -44,7 +44,7 @@ clean: all: $(OBJ) @echo :: $(OBJ) - $(LD) $(PD_LDFLAGS) $(LDFLAGS) -o $(TARGET) *.o $(LIB) + $(CC) $(PD_LDFLAGS) $(LDFLAGS) -o $(TARGET) *.o $(LIB) mv $(TARGET) .. $(OBJ) : %.o : %.c |