|
ifdef ARCH_WIN |
|
# FLAGS += -D_WIN32 |
|
FLAGS += -DPD_INTERNAL |
|
# LDFLAGS += -shared |
|
LDFLAGS += -Wl,--export-all-symbols |
|
LDFLAGS += -lws2_32 |
|
# LDFLAGS += -lkernel32 |
|
# LDFLAGS += -static-libgcc |
|
endif |
Could you explain these flags with a comment above each one, or if any are not needed, remove them.
I've commented out the ones that don't seem to be required when running a libpd script.
In particular I'm curious about
_WIN32 since mingw GCC already defines this on Windows,
-shared since Rack plugins are already built with this flag, and
-static-libgcc since this library is already loaded dynamically into the global symbol table (via Rack).