aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-02-12 12:54:41 +0000
committerMax Horn2006-02-12 12:54:41 +0000
commit9014ebc74a8ad961d3b52e13894617194ad4d25b (patch)
treeded2bfc4df412487c10493981ea508d1a4f7f1ec
parentb9fec00c25f00a06ad6922b9aebcd0e406714340 (diff)
downloadscummvm-rg350-9014ebc74a8ad961d3b52e13894617194ad4d25b.tar.gz
scummvm-rg350-9014ebc74a8ad961d3b52e13894617194ad4d25b.tar.bz2
scummvm-rg350-9014ebc74a8ad961d3b52e13894617194ad4d25b.zip
Fixed building of engine plugins
svn-id: r20603
-rw-r--r--common.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.rules b/common.rules
index 5f028250a2..52b030b1c1 100644
--- a/common.rules
+++ b/common.rules
@@ -10,7 +10,7 @@ ifdef PLUGIN
# TODO: Right now, for Mac OS X only. We either will have to generate this
# via the configure script, or put in some 'if' statements to choose from
# one of several build rules
-PLUGIN-$(MODULE) := plugins/$(PLUGIN_PREFIX)$(MODULE)$(PLUGIN_SUFFIX)
+PLUGIN-$(MODULE) := plugins/$(PLUGIN_PREFIX)$(notdir $(MODULE))$(PLUGIN_SUFFIX)
$(PLUGIN-$(MODULE)): $(MODULE_OBJS-$(MODULE)) $(PLUGIN_EXTRA_DEPS)
$(MKDIR) plugins
$(CXX) $(PLUGIN_LDFLAGS) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) -o $@