summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-06-15 03:11:49 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:07 +0100
commit37bc2e95c6578d256e1261ff381c37ac3b2ba3f5 (patch)
tree9918ef7f0da5ca899431b7a698262662342ccbf6 /plugin
parent3f63e1315c0d694d4543076fc4796f9a1f19e5a5 (diff)
downloadfribid-37bc2e95c6578d256e1261ff381c37ac3b2ba3f5.tar.gz
fribid-37bc2e95c6578d256e1261ff381c37ac3b2ba3f5.tar.bz2
fribid-37bc2e95c6578d256e1261ff381c37ac3b2ba3f5.zip
Made the Makefile work on FreeBSD (almost)
The plugin path is still wrong but that problem affects any OS/distribution that doesn't install mozilla/xulrunner in /usr/lib/mozilla and /usr/lib/xulrunner.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/Makefile b/plugin/Makefile
index ae4f033..cf92e8f 100644
--- a/plugin/Makefile
+++ b/plugin/Makefile
@@ -30,7 +30,8 @@ clean:
rm -f $(OBJECTS) libplugins.so
install:
- install -T -D -s -m 644 libplugins.so $(NPAPI_PLUGIN_LIB)
+ install -d $(LIB_PATH)
+ install -s -m 644 libplugins.so $(LIB_PATH)
../configure --internal--remove-link $(NPAPI_PLUGIN_LINK1) $(NPAPI_PLUGIN_REL)
../configure --internal--remove-link $(NPAPI_PLUGIN_LINK2) $(NPAPI_PLUGIN_REL)
ln -s $(NPAPI_PLUGIN_REL) $(NPAPI_PLUGIN_LINK1)