CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa7590
)
fixed LDFLAGS usage for Ubuntu's host compilation
author
Jose V Beneyto
<sepen@crux.nu>
Sat, 6 Mar 2010 09:55:38 +0000
(10:55 +0100)
committer
Jose V Beneyto
<sepen@crux.nu>
Sat, 6 Mar 2010 09:55:38 +0000
(10:55 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 83c4c8578533d41851c79b725a1bea2d4348ac9c..81a024cc510be23d845b4b97ab6f748c1e89a777 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,11
@@
all: src/pkgmk.conf src/pkgmk
src/pkgmk:
- @make -C src
+ @if grep -e ubuntu /proc/version >/dev/null; then \
+ make -C src LDFLAGS="-static -larchive -lz -lacl"; \
+ else \
+ make -C src; \
+ fi
@chmod a+x src/pkgmk
clean: