Bug fix affecting the MUON DA build.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Feb 2008 11:27:24 +0000 (11:27 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Feb 2008 11:27:24 +0000 (11:27 +0000)
build/module.tpl

index e4978de..9a53579 100644 (file)
@@ -147,11 +147,13 @@ endif
 @PACKAGE@ALIB:=$(LIBPATH)/lib@PACKAGE@.$(AEXT)
 
 #Add this to the modules libs
+ifeq ($(TYPE),lib)
 @MODULE@LIBS += $(@PACKAGE@LIB)
 @MODULE@ALIBS += $(@PACKAGE@ALIB)
 ifneq ($(DYEXT),)
 @MODULE@DLIBS += $(@PACKAGE@DLIB)
 endif
+endif
 
 #The actual binary file