diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-29 00:28:28 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-29 00:28:28 +0200 |
commit | f5911edd79f97fcbe08d7ddf3cc4c4c25423b13c (patch) | |
tree | 7945102b28f6398b98971862d21c5dcb5e5c3702 | |
parent | c48243218742495cbb3b5fc338a32e51b8717379 (diff) | |
download | osc-graphics-f5911edd79f97fcbe08d7ddf3cc4c4c25423b13c.tar.gz |
link with gcc frontend to avoid having to link against libc explicitly
since this differs on MinGW
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4e57b90..ffdd850 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +CXXLD = @CC@ + AM_CXXFLAGS = -Wall AM_CPPFLAGS = @@ -13,5 +15,4 @@ osc_graphics_SOURCES = main.cpp osc_graphics.h \ layer_image.cpp layer_image.h \ layer_video.cpp layer_video.h -osc_graphics_LDFLAGS = -nodefaultlibs -osc_graphics_LDADD = -lc -lsupc++ -lgcc -lgcc_eh +osc_graphics_LDADD = -lsupc++ |