Mailinglist Archive: yast-commit (870 mails)
| < Previous | Next > |
[yast-commit] r48822 - /branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile
- From: mvidner@xxxxxxxxxxxxxxxx
- Date: Thu, 03 Jul 2008 12:41:35 -0000
- Message-id: <20080703124135.BCE382BF97@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Thu Jul 3 14:41:35 2008
New Revision: 48822
URL: http://svn.opensuse.org/viewcvs/yast?rev=48822&view=rev
Log:
make it work with both lib and lib64
Modified:
branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile
Modified: branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile?rev=48822&r1=48821&r2=48822&view=diff
==============================================================================
--- branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile (original)
+++ branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile Thu Jul 3 14:41:35
2008
@@ -1,5 +1,6 @@
+LIB:=$(shell y2tool get-lib)
polkitbind.so: polkit.c
- gcc -fPIC -rdynamic -L/lib64 -lpython2.5 -ldbus-1 -lpolkit
-lpolkit-dbus -I/usr/include/python -I/usr/include/PolicyKit
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -shared -o polkitbind.so
polkit.c
+ gcc -fPIC -rdynamic -L/$(LIB) -lpython2.5 -ldbus-1 -lpolkit
-lpolkit-dbus -I/usr/include/python -I/usr/include/PolicyKit
-I/usr/include/dbus-1.0 -I/usr/$(LIB)/dbus-1.0/include -shared -o polkitbind.so
polkit.c
install: AuthException.py auth_layer_service.py polkitbind.so polkitwrapper.py
- cp $? /usr/lib64/python/site-packages/
+ cp $? /usr/$(LIB)/python/site-packages/
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Thu Jul 3 14:41:35 2008
New Revision: 48822
URL: http://svn.opensuse.org/viewcvs/yast?rev=48822&view=rev
Log:
make it work with both lib and lib64
Modified:
branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile
Modified: branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile?rev=48822&r1=48821&r2=48822&view=diff
==============================================================================
--- branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile (original)
+++ branches/tmp/lslezak/workshop/auth_dbus_layer/Makefile Thu Jul 3 14:41:35
2008
@@ -1,5 +1,6 @@
+LIB:=$(shell y2tool get-lib)
polkitbind.so: polkit.c
- gcc -fPIC -rdynamic -L/lib64 -lpython2.5 -ldbus-1 -lpolkit
-lpolkit-dbus -I/usr/include/python -I/usr/include/PolicyKit
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -shared -o polkitbind.so
polkit.c
+ gcc -fPIC -rdynamic -L/$(LIB) -lpython2.5 -ldbus-1 -lpolkit
-lpolkit-dbus -I/usr/include/python -I/usr/include/PolicyKit
-I/usr/include/dbus-1.0 -I/usr/$(LIB)/dbus-1.0/include -shared -o polkitbind.so
polkit.c
install: AuthException.py auth_layer_service.py polkitbind.so polkitwrapper.py
- cp $? /usr/lib64/python/site-packages/
+ cp $? /usr/$(LIB)/python/site-packages/
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |