summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen LaHaise <bcrl@kvack.org>2002-04-18 03:41:46 +0000
committerBen LaHaise <bcrl@kvack.org>2002-04-18 03:41:46 +0000
commit2df493dbcb9c5d7a64cb285b0e032d08752e37c7 (patch)
tree8172d780ea9755b45f4f7ec16cef5071e2b03eec
parent710b63477decad87608dfd48b72a57fdbf122ee3 (diff)
downloadlibaio-2df493dbcb9c5d7a64cb285b0e032d08752e37c7.tar.gz
set prefix to /usr so make install works again (remember to check
libaio.spec)
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 60cd27e..6c4cfff 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,4 @@
-prefix=usr
+prefix=/usr
CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2
SO_CFLAGS=-shared $(CFLAGS)
@@ -35,8 +35,8 @@ libaio.a: $(libaio_objs)
ar r libaio.a $^
ranlib libaio.a
-$(soname): $(libaio_sobjs) libredhat-kernel.so
- $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $^ $(LINK_FLAGS)
+$(soname): $(libaio_sobjs) libredhat-kernel.so libaio.map
+ $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) libredhat-kernel.so $(LINK_FLAGS)
install: $(all_targets)
@$(MAKE) -C lib/src install