diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-04-16 15:40:05 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2007-04-16 15:41:56 -0400 |
commit | c8e4249b64b0a46b052ab3a83effc8986404e70c (patch) | |
tree | a9d97b8d6dd02b8b9b931954e5f9795056a595fd | |
parent | 639e6e5d3b048aa4b768b41dc3fc99f7c566384c (diff) |
fix how we build partutil
05_freebsd_partutil_make_fix.patch corrects the syntax in the
Makefile.am (don't forget to autoreconf) and I just inverted the logic
in it since we only want that code to compile on Linux so it'll fix it
for Solaris as well.
-rw-r--r-- | partutil/Makefile.am | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/partutil/Makefile.am b/partutil/Makefile.am index bf48de60..5c7b8f33 100644 --- a/partutil/Makefile.am +++ b/partutil/Makefile.am @@ -1,17 +1,12 @@ -if HALD_COMPILE_SOLARIS -# do nothing -else if HALD_COMPILE_FREEBSD -# do nothing -else +if HALD_COMPILE_LINUX +noinst_LTLIBRARIES = libpartutil.la +endif INCLUDES = @GLIB_CFLAGS@ -noinst_LTLIBRARIES = libpartutil.la - libpartutil_la_SOURCES = partutil.h partutil.c ../hald/logger.c libpartutil_la_LIBADD = @GLIB_LIBS@ @PARTED_LIBS@ clean-local : rm -f *~ -endif |