summaryrefslogtreecommitdiff
path: root/sys-power/nut/files/nut-2.4.1-no-libdummy.patch
blob: 31a8e73e54f1cc2a81bd2d60890c2cd2686b4a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Nuar nut-2.4.1.orig/drivers/Makefile.am nut-2.4.1/drivers/Makefile.am
--- nut-2.4.1.orig/drivers/Makefile.am	2008-07-04 20:12:38.201211819 -0700
+++ nut-2.4.1/drivers/Makefile.am	2008-07-04 20:12:59.829462787 -0700
@@ -211,10 +211,12 @@
  upscode2.h victronups.h powerpanel.h powerp-bin.h powerp-txt.h		\
  upshandler.h netxml-ups.h mge-xml.h
 
+EXTRA_LIBRARIES =
+
 # Define a dummy library so that Automake builds rules for the
 # corresponding object files.  This library is not actually built,
-EXTRA_LIBRARIES = libdummy.a
-libdummy_a_SOURCES = main.c dstate.c serial.c
+#EXTRA_LIBRARIES += libdummy.a
+#libdummy_a_SOURCES = main.c dstate.c serial.c
 
 # the nuthalmain library combines the code for main-hal.c and
 # dstate-hal.c. It is necessary for Automake-technical reasons,