diff options
-rw-r--r-- | experimental/Makefile.linux | 2 | ||||
-rw-r--r-- | makefile.sub | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/experimental/Makefile.linux b/experimental/Makefile.linux index ab7d09f..2d30c93 100644 --- a/experimental/Makefile.linux +++ b/experimental/Makefile.linux @@ -20,7 +20,7 @@ LINUXINCLUDE = -I/usr/include -I/usr/local/include/stk .cpp.pd_linux:
g++ $(LINUXCFLAGS) $(LINUXINCLUDE) -c $(NAME).cpp
- g++ -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lstk
+ g++ -Wl,--export-dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lstk
strip --strip-unneeded $(NAME).pd_linux
rm -f *.o
# -------------------------------------------------------
diff --git a/makefile.sub b/makefile.sub index 684d3ed..52a1007 100644 --- a/makefile.sub +++ b/makefile.sub @@ -24,7 +24,7 @@ INCLUDES = -I.. -I../include %.pd_linux: %.c $(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c $*.c - gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm + gcc -Wl,--export-dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm chmod a-x "$*.pd_linux" rm -f "$*.o" |