chiark / gitweb /
[PATCH] fix up error in building extras and libsysfs
[elogind.git] / extras / scsi_id / Makefile
index 7ccc4c51181f0471c388318093bdcc278a14e78c..6a73e33785545ff0cfec30c4718b880fd0e5d345 100644 (file)
@@ -31,8 +31,14 @@ INSTALL_DATA  = ${INSTALL} -m 644
 override CFLAGS+=-Wall -fno-builtin
 
 PROG=scsi_id
 override CFLAGS+=-Wall -fno-builtin
 
 PROG=scsi_id
-SYSFS=-lsysfs
 
 
+SYSFS =        ../../libsysfs/sysfs_bus.o      \
+       ../../libsysfs/sysfs_class.o    \
+       ../../libsysfs/sysfs_device.o   \
+       ../../libsysfs/sysfs_dir.o      \
+       ../../libsysfs/sysfs_driver.o   \
+       ../../libsysfs/sysfs_utils.o    \
+       ../../libsysfs/dlist.o
 #
 # Built static and stripped when built with udev.
 #
 #
 # Built static and stripped when built with udev.
 #