X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.modules;h=a13b1f4ab532d900812b0717a424a35b8fe0362a;hb=440f9992ee947ea5fd0debbf35fdd1011c6404b3;hp=31ac491e03bd5e1ffdf5217e4469a4bb222791ed;hpb=1ffe943ec5e34e24199546b386114bb67586855a;p=vlc diff --git a/Makefile.modules b/Makefile.modules index 31ac491e03..a13b1f4ab5 100644 --- a/Makefile.modules +++ b/Makefile.modules @@ -59,7 +59,7 @@ $(CPP_DEP): %.dpp: FORCE $(PLUGIN_C): %.o: .dep/%.d $(PLUGIN_C): %.o: %.c - $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -DPLUGIN $(PCFLAGS) -c -o $@ $< $(BUILTIN_C): BUILTIN_%.o: .dep/%.d $(BUILTIN_C): BUILTIN_%.o: %.c @@ -67,7 +67,7 @@ $(BUILTIN_C): BUILTIN_%.o: %.c $(PLUGIN_CPP): %.o: .dep/%.dpp $(PLUGIN_CPP): %.o: %.cpp - $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -DPLUGIN $(PCFLAGS) -c -o $@ $< $(BUILTIN_CPP): BUILTIN_%.o: .dep/%.dpp $(BUILTIN_CPP): BUILTIN_%.o: %.cpp