From 3ac384ce2405e3463c4fc96d3797804dadf9ef8a Mon Sep 17 00:00:00 2001 From: clwe Date: Thu, 23 Jul 2020 16:40:09 +0200 Subject: [PATCH] PD: removes superfluous build flags --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6e35f88..7c13940 100644 --- a/Makefile +++ b/Makefile @@ -222,13 +222,14 @@ DEPS += $(libpd) FLAGS += -Idep/include/libpd ifdef ARCH_WIN -# FLAGS += -D_WIN32 + # the PD_INTERNAL leaves the function declarations for libpd unchanged + # not specifying that flag would enable the "EXTERN __declspec(dllexport) extern" macro + # which throughs a linker error. I guess this macro should only be used for the windows + # specific .dll dynamic linking format. + # The corresponding #define resides in "m_pd.h" inside pure data sources FLAGS += -DPD_INTERNAL -# LDFLAGS += -shared LDFLAGS += -Wl,--export-all-symbols LDFLAGS += -lws2_32 -# LDFLAGS += -lkernel32 -# LDFLAGS += -static-libgcc endif $(libpd):