mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
lib/Module.mk correction, to stop ldconfig from choking
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@92 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c4cb096dd9
commit
e49c6712bf
6 files changed
+12
-13
No files matched your search
+3
-3
@@ -44,7 +44,7 @@ LIBHEADERFILES := $(MODULE_DIR)/error.h
|
||||
|
||||
# How to create the shared library
|
||||
$(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS)
|
||||
$(CC) -shared -Wl,-soname,$(LIBSONAME) -o $@ $^ -lc
|
||||
$(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc
|
||||
|
||||
# And the static library
|
||||
$(MODULE_DIR)/$(LIBSTLIBNAME): $(LIBSTOBJECTS)
|
||||
@@ -66,10 +66,10 @@ all :: all-lib
|
||||
|
||||
install-lib:
|
||||
$(MKDIR) $(LIBDIR) $(LIBINCLUDEDIR)
|
||||
install -o root -g root -m 644 $(LIBTARGETS) $(LIBDIR)
|
||||
$(INSTALL) -o root -g root -m 644 $(LIBTARGETS) $(LIBDIR)
|
||||
$(LN) $(LIBSHLIBNAME) $(LIBDIR)/$(LIBSHSONAME)
|
||||
$(LN) $(LIBSHSONAME) $(LIBDIR)/$(LIBSHBASENAME)
|
||||
install -o root -g root -m 644 $(LIBHEADERFILES) $(LIBINCLUDEDIR)
|
||||
$(INSTALL) -o root -g root -m 644 $(LIBHEADERFILES) $(LIBINCLUDEDIR)
|
||||
install :: install-lib
|
||||
|
||||
clean-lib:
|
||||
|
||||
Reference in new issue
Block a user